• Resolved cpier

    (@cpier)


    When I activate the WPSSO plugin i get an “An Error occurred in the upload. Please Try again later.” when trying to upload any media files.
    When I deactivate the WPSSO plugin media upload works fine again.
    File permissions are as WordPress set them and as recommended in the WP FAQ.

    https://www.ads-software.com/plugins/wpsso/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    Hm. That error has never come up before… Which version of WP are you using? Have you tried enabling WP_DEBUG to get a little more info?

    My guess is that WPSSO is triggering a bug in another plugin. Have you tried disabling all other plugins one by one?

    Let me know which errors come up after enabling WP_DEBUG. More info on enabling the constant can be found here: https://wpsso.com/codex/plugins/wpsso/installation/debugging-and-problem-solving/

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    Any update on this?

    js.

    Thread Starter cpier

    (@cpier)

    Thanks for the very fast response. Unfortunately, this was on a live server where I can’t experiment much.
    But I’ll try to reproduce this on the staging server and get back here in a few days because I’m thinking about using this plugin on other WordPress sites as well.

    Plugin Author JS Morisset

    (@jsmoriss)

    Looking forward to the results. ??

    js.

    I hit this same problem…

    I updated the plugin WPSSO plugin v3.29.4-1 this morning and have found that it broke a portion of the media upload module. Going to Add Post > Add Media > Select Image > Edit Image. The image fails to load withiin the tool that allows you to crop etc.?
    ?
    From the console, the error looks like this:
    <siteurl>/wp-admin/admin-ajax.php?action=imgedit-preview&_ajax_nonce=98d79c427e&postid=5778&rand=15218?
    ?
    From the server error log:
    [Fri Apr 15 15:01:49 2016] [error] PHP Fatal error:?Call to a member function get_options() on null in /var/www/html/wp-content/plugins/wpsso/lib/util.php on line 174, referer: <siteurl>/wp-admin/post-new.php
    ?
    I disabled the plugin and the media uploader works again.
    I am going to rollback the plugin, although I dont see an easy way to do that either from the documentation on the wordpress site. All i see under other versions is the development version. Frustrating.?

    Regards

    Plugin Author JS Morisset

    (@jsmoriss)

    Fantastic, thanks for the excellent bug report! With this information I was able to fix the issue quickly and release a new version. If there was a rating system for replies, yours would get 5 stars! ??

    js.

    Thread Starter cpier

    (@cpier)

    Wow! Thanks to both of you. Great work and awesome response time.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WPSSO plugin breaks media upload when active’ is closed to new replies.