Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    Hi,

    Can you eleborate what the error exactly is ? Also please let me know what version of PHP and WordPress you are using.

    Thread Starter axibert

    (@axibert)

    WordPress?6.2.2
    PHP 7.4
    I have no information about the error, I cannot access the backend when the plugin is active, had to rename it in ftp to get access again

    Thread Starter axibert

    (@axibert)

    just installed v 9.6. this error appears: Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, null given in /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php:344 Stack trace: #0 /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php(344): json_decode(NULL, true) #1 /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php(61): MaxButtons\maxInstall::migrateResponsive() #2 /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php(13): MaxButtons\maxInstall::activate_plugin() #3 /home/6022c085c1ac180facec1933/public_html/wp-includes/class-wp-hook.php(308): MaxButtons\maxInstall::activation_hook(”) #4 /home/6022c085c1ac180facec1933/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #5 /home/6022c085c1ac180facec1933/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/6022c085c1ac180facec1933/public_html/wp-admin/plu in?/home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php?on line?344

    Thread Starter axibert

    (@axibert)

    V 9.7.1 also causing the error when activating:

    Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, null given in /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php:344 Stack trace: #0 /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php(344): json_decode(NULL, true) #1 /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php(61): MaxButtons\maxInstall::migrateResponsive() #2 /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php(13): MaxButtons\maxInstall::activate_plugin() #3 /home/6022c085c1ac180facec1933/public_html/wp-includes/class-wp-hook.php(308): MaxButtons\maxInstall::activation_hook(”) #4 /home/6022c085c1ac180facec1933/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #5 /home/6022c085c1ac180facec1933/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/6022c085c1ac180facec1933/public_html/wp-admin/plu in?/home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php?on line?344

    Plugin Author Bas Schuiling

    (@basszje)

    That is an issue that 9.7 actually fixes. We’ll releasing version 9.7.1 now . Please let us know if you get any error with that version.

    Thread Starter axibert

    (@axibert)

    9.7.1 does not resolve it, see above

    Plugin Author Bas Schuiling

    (@basszje)

    Thanks for letting us know. Version 9.7.2 should fix this issue, seemingly this was something else than the one I mentioned before.

    Thread Starter axibert

    (@axibert)

    Hm sadly, no the error still persists when trying to activate 9.7.2

    Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, null given in /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php:344 Stack trace: #0 /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php(344): json_decode(NULL, true) #1 /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php(61): MaxButtons\maxInstall::migrateResponsive() #2 /home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php(13): MaxButtons\maxInstall::activate_plugin() #3 /home/6022c085c1ac180facec1933/public_html/wp-includes/class-wp-hook.php(308): MaxButtons\maxInstall::activation_hook(”) #4 /home/6022c085c1ac180facec1933/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #5 /home/6022c085c1ac180facec1933/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/6022c085c1ac180facec1933/public_html/wp-admin/plu in?/home/6022c085c1ac180facec1933/public_html/wp-content/plugins/maxbuttons/classes/installation.php?on line?344

    Plugin Author Bas Schuiling

    (@basszje)

    That is weird. Are you sure the whole update went through correctly? That statement is not on that line anymore ( due to extra check ). I could replicate the problem, but now it’s fixed here.

    Perhaps try to install the plugin fresh ( fully remove the plugin and install again from the repository – buttons are untouched ) ? I could be WP still served the old one instead.

    Thread Starter axibert

    (@axibert)

    ok, it is working now, maybe there was a conflict with a previous install, I deleted all the old ones and installed from wordpress and it is fine now. Thanks for the fix

    Plugin Author Bas Schuiling

    (@basszje)

    Hooray! Thanks for the patience.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Critical error’ is closed to new replies.