• Resolved Maxime Freschard

    (@djsuperfive)


    Hi,

    after last update (1.2.0), I get this error and my site is broken. I’m under PHP 7.2.

    PHP Fatal error: Uncaught Error: Class ‘Preseto\WidgetContext\Plugin’ not found in /srv/data/web/vhosts/******.org/htdocs/wp-content/plugins/widget-context/widget-context.php:16
    Stack trace:
    #0 /srv/data/web/vhosts/******.org/htdocs/wp-settings.php(362): include_once()
    #1 phar:///srv/data/web/vhosts/******.org/wp-cli.phar/php/WP_CLI/Runner.php(1008): require(‘/srv/data/web/v…’)
    #2 phar:///srv/data/web/vhosts/******.org/wp-cli.phar/php/WP_CLI/Runner.php(945): WP_CLI\Runner->load_wordpress()
    #3 phar:///srv/data/web/vhosts/******.org/wp-cli.phar/php/wp-cli.php(21): WP_CLI\Runner->start()
    #4 phar:///srv/data/web/vhosts/******.org/wp-cli.phar/php/boot-phar.php(5): include(‘phar:///srv/dat…’)
    #5 /srv/data/web/vhosts/******.org/wp-cli.phar(4): include(‘phar:///srv/dat…’)
    #6 {main}
    thrown in /srv/data/web/vhosts/******.org/htdocs/wp-content/plugins/widget-context/widget-context.php on line 16

    How can I fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Maxime Freschard

    (@djsuperfive)

    Fixed ! sorry, my mistake.

    Plugin Author Kaspars

    (@kasparsd)

    Thanks for the update @djsuperfive!

    Do you mind sharing the details around the issue and how you were able to resolve it? Others might experience the same issue and any additional insight might be helpful.

    Thread Starter Maxime Freschard

    (@djsuperfive)

    Hi,
    There was conflicts with old files not being deleted in the plugin folder. I replaced the whole folder and it fixed my issue. (My deploy script is to blame).

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