Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author gb-plugins

    (@gb-plugins)

    Hi ncdesignz,
    tank you for reporting the error,
    i am looking in to it, can you please provide additional details like what version your WordPress is?

    Plugin Author gb-plugins

    (@gb-plugins)

    Hi ncdesignz,

    I have seen the problem and fixed it.
    you have two options to fix it:

    1. download the plugin again. I have made some changes to help with this particular problem.

    2. In line 29 “add_action(‘widgets_init’,function (){register_widget(‘gb_gallery_widget’);});”

    replace with “add_action(‘widgets_init’,’start_widget’);”
    and in the end of the file before “?>”
    add the following code :
    function start_widget(){
    register_widget(‘gb_gallery_widget’);
    }

    explanation:
    if your PHP version is lower then 5.3 then it’s not supporting “anonymous function” like in line 29 “add_action(‘widgets_init’,function (){register_widget(‘gb_gallery_widget’);});”

    thank you for bringing this matter to my attention. I am sure there are others with the same PHP version who also had the same problem.

    I hope you will enjoy the plugin.
    I am here for any further inquiry you may have.

    Thread Starter ncdesignz

    (@ncdesignz)

    Thank you, with this particular client, I’m not sure what version of PHP they are running.

    Plugin Author gb-plugins

    (@gb-plugins)

    So i guess it’s o.k. now

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error’ is closed to new replies.