• Resolved temereva

    (@temereva)


    Hi I’m getting this error since I’ve upgraded PHP to 7.2, WP to 5.2 and enable-media-replace to the recent latest version:

    Uncaught Error: Class ‘EnableMediaReplace\ShortPixelLogger\ShortPixelLogger’ not found in
    /wp-content/plugins/enable-media-replace/classes/emr-plugin.php:85

    Stack trace:
    #0 /wp-includes/class-wp-hook.php(286): EnableMediaReplace\EnableMediaReplacePlugin->init(”)
    #1 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #2 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /wp-admin/admin.php(169): do_action(‘admin_init’)
    #4 /wp-admin/network/admin.php(13): require_once(‘/var/www/vhosts…’)
    #5 /wp-admin/network/index.php(11): require_once(‘/var/www/vhosts…’)
    #6 {main}
    thrown in/wp-content/plugins/enable-media-replace/classes/emr-plugin.php on line 85

    Is there possibility to fix this? I really liked using this plugin.

Viewing 1 replies (of 1 total)
  • Plugin Author ShortPixel

    (@shortpixel)

    Hi @temereva, we noticed this and will provide a fix. Could you please in the meantime activate the JSON PHP extension from your cPanel? This should fix.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP error after upgrading to PHP 7.2’ is closed to new replies.