Running vBulletin 3.5.3 and latest vBgallery downloaded for 3.5 off from PhotoPost.
Some user's gallery images work fine and others give:
Fatal error: Call to a member function on a non-object in /home/smoky/public_html/forum/includes/functions_gallery.php on line 1085
Someone said that it was a " or other charcter in the descriptions.
Got this in functions_gallery.php
Code:
global $vba_options, $stylevar, $vbulletin, $vbphrase, $show, $adv_sorturl, $catinfo, $counter, $cellwidth, $categoryperms, $showfields, $categorycache, $catopts, $bbcode_parser;
And
Code:
$images['description'] = $bbcode_parser->do_parse(stripslashes($images['description']), $catopts["$images[catid]"]['allow_desc_html'], $catopts["$images[catid]"]['allow_desc_smilies'], $catopts["$images[catid]"]['allow_desc_bbcode'], $catopts["$images[catid]"]['allow_desc_bbimgcode']);
Also got this done:
Code:
'smiliecache',
'bbcodecache',
'gallery_c_cache',
'adv_gallery_opt',
'gallery_ugroups'
Still, some users images work fine and some give the above error. I've been chasing this all over the web via google, but no thread ties it together. This thread appears to be the most current.
Anyone figure out how to strip from the photo description what ever ASCII character is bugging this thing?