• Hello everybody,
    After I deactivated the multiple content block plugin my site crashed and I cannot enter it anymore. After hours of searching in phpmyadmin I still can’t find a solution. This is the error:

    Fatal error: Call to undefined function the_block() in /var/www/vhosts/passingshot.nl/httpdocs/wp-content/themes/sport/functions.php on line 132.

    I really don’t know what to do so if someone could please give me an extensive explanation on how to fix this I will be thankful forever.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter matsvaneeuwen

    (@matsvaneeuwen)

    I also read that changing the name of the plugins folder in wp_content could help but then I got this error:

    W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /var/www/vhosts/passingshot.nl/httpdocs/wp-content/advanced-cache.php. Fatal error: Call to undefined function the_block() in /var/www/vhosts/passingshot.nl/httpdocs/wp-content/themes/sport/functions.php on line 132

    Hi,

    It seems “multiple content block” functions are used in your theme’s functions.php

    You may need to identify the code part and remove if you want to de-activate “multiple content block” plugin.

    Changing name of plugin folder will not work since plugin code in embedded in theme’s functions.php file.

    Thanks

    Thread Starter matsvaneeuwen

    (@matsvaneeuwen)

    @gyanendra Giri this is the only code part I can find:

    a:3:{s:51:”multiple-content-blocks/multiple-content-blocks.php”;i:1470985469;s:23:”wordfence/wordfence.php”;i:1470815415;s:19:”wptouch/wptouch.php”;i:1470812646;}

    Is this what you mean? I’m sorry, I’m really not a professional.

    Thread Starter matsvaneeuwen

    (@matsvaneeuwen)

    I found it in the “option_name” column and is called “recently activated”

    Don’t edit database tables directly.
    It will cause multiple issues.

    If you know php you can go to wp-content/themes/sport/functions.php and find
    the_block() function code block and comment it out or remove it. Don’t forget to backup the code first.

    Thread Starter matsvaneeuwen

    (@matsvaneeuwen)

    @gyanendra Giri thank you so so so much!!!! It worked!

    You’re welcome. ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error after deactivating multiple content block’ is closed to new replies.