Open eSilverStrike opened 1 year ago
Error originally reported in the forum:
https://www.geeklog.net/forum/viewtopic.php?showtopic=97495
On editing an article the following error happened for someone:
E_WARNING(2) - Undefined variable $image_form @ /sites/directoryname/geeklog/public_html/admin/article.php line 833 Call Stack # Function File Line 1 storyeditor /sites/directoryname/geeklog/public_html/admin/article.php 1009
The fix:
Need to define the variable around line 738
$image_form = '';
so it looks like
$allowed_html .= COM_allowedAutotags(false, $allowed_tags); $story_templates->set_var('lang_allowed_html', $allowed_html); $image_form = ''; if ($_CONF['maximagesperarticle'] > 0) { $story_templates->set_block('editor', 'image-form'); $story_templates->set_block('editor', 'image-form-elements');
Error originally reported in the forum:
https://www.geeklog.net/forum/viewtopic.php?showtopic=97495
On editing an article the following error happened for someone:
The fix:
Need to define the variable around line 738
$image_form = '';
so it looks like