2009-07-07, 03:11 PM
Some of the users of the adsuite plugin reported a strange error to me...
Fatal error: Cannot use [] for reading in /forumdirectory/inc/functions_post.php(620) : eval()'d code on line 64
The plugin does not change anything in this file though...
Line 64 in functions_post.php is
Anybody having any ideas?
The error still exists after deactivating and uninstalling the plugin completely and removing it from the plugin folder.
It appears only when you try to view a thread.
Cut from the function inside the plugin:
It's just replacing a var in the template with different content in my opinion...
The plugin has been tested on 7 forums now - all successfully but two boards seem to have problems with it.
Code looks fine to me though...
Kind regards
Lennart Sauter
Fatal error: Cannot use [] for reading in /forumdirectory/inc/functions_post.php(620) : eval()'d code on line 64
The plugin does not change anything in this file though...
Line 64 in functions_post.php is
$parser_options['allow_mycode'] = $mybb->settings['pmsallowmycode'];
Anybody having any ideas?
The error still exists after deactivating and uninstalling the plugin completely and removing it from the plugin folder.
It appears only when you try to view a thread.
Cut from the function inside the plugin:
function showpostads($post)
{
$post[$showad5] = "<div>$ad[$zufall]</div>";
}
It's just replacing a var in the template with different content in my opinion...
The plugin has been tested on 7 forums now - all successfully but two boards seem to have problems with it.
Code looks fine to me though...
Kind regards
Lennart Sauter