• Resolved jld36

    (@jld36)


    I am trying to update EMR from verstion 3.3.1 to 3.3.6, but when I did so, my WordPress dashboard would no longer load. I got a system email that allowed me to load it in recovery mode. Here is the error listing:

    Error Details
    =============
    An error of type E_ERROR was caused in line 85 of the file /data/wp/cms/wp-content/plugins/enable-media-replace/classes/emr-plugin.php. Error message: Uncaught Error: Class 'EnableMediaReplace\ShortPixelLogger\ShortPixelLogger' not found in /data/wp/cms/wp-content/plugins/enable-media-replace/classes/emr-plugin.php:85
    Stack trace:
    #0 /data/wp/cms/wp-includes/class-wp-hook.php(286): EnableMediaReplace\EnableMediaReplacePlugin->init('')
    #1 /data/wp/cms/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /data/wp/cms/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /data/wp/cms/wp-admin/admin.php(169): do_action('admin_init')
    #4 /data/wp/cms/wp-admin/index.php(10): require_once('/data/wp/cms/wp...')
    #5 {main}
    thrown

    We are using WP 5.2.3 running on PHP 7.3.8, and I checked that JSON is enabled in phpinfo(). In the meantime I’m going to roll back to the older version of EMR.

    (Note that the page linked to this post is our production site. I’m trying the upgrade on a staging site that is not accessible to the public.)

    • This topic was modified 5 years, 5 months ago by jld36.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey,

    Sorry to butt in, but I had the same problem and it turns out I added a log/ rule to my .gitignore file, which caused an entire directory to not be uploaded to my site.

    Check if your site has this directory:
    wp-content/plugins/enable-media-replace/build/shortpixel/log/

    -Yoav

    Plugin Author ShortPixel

    (@shortpixel)

    Hey @jld36 – thanks for your message, sorry to hear about this problem.
    Did you try the solution suggested by @yoavmatchulsky (Thank you @yoavmatchulsky!) and if so did it work?
    If not, could you please contact us directly here (mentioning the URL of this ticket) and share with us temporary admin access to a WP installation where we can reproduce this?

    Thank you,
    Alex

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