Quote:
Originally Posted by saqib_jutt
Hi All,
I am using vb 3.8.0, i am having a little prob with my pvt since i have imported this hack.
when i click to open any pvt msg, this error comes....
Fatal error: Cannot redeclare button_visibility() (previously declared in /home/content/j/a/g/jaguarxtype/html/forums/includes/functions_editor.php(521) : eval()'d code:4) in /home/content/j/a/g/jaguarxtype/html/forums/includes/functions_editor.php(521) : eval()'d code on line 4
I dunno what is wrong... please help
Thanks
|
This hack include a small function with name
button_visibility that take a place on
construct_edit_toolbar function in file includes/functions_editor.php and only one time defined, I think you are on a page that have 2 Quick Editor, so this problem may a bug for current version and I must fix this problem certainly in next version.
I say thank you to report this problem, but for this time you may make this change on
Improve Editor plug-in that took in
editor_toolbar_start hook via Plug-Ins Manager which that change is follow:
Find
function button_visibility($button) then before this line add
if (function_exists('button_visibility')) then save the changes.