Support » Plugin: Smush - Lazy Load Images, Optimize & Compress Images » Smush conflicting with schema pro

  • Resolved exciteforlife


    Someone added smush so I could increase my core web vitals. However since it has been added I can no longer use Schema pro. Although the schema is still there you cant amend it on product pages or post pages as it is frozen.
    Schema support said that when smush is deactivated schema works fine but as soon as smush is activated it freezes it again.
    does anyone know how to rectify this conflict between the two ?
    Many Thanks

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Pawel – WPMU DEV Support


    Hi @exciteforlife,

    Thank you for contacting us.

    Sorry to hear you are having this issue. When having both plugins activated, were you able to enable debug.log to check for relevant errors? If not, could you please enable debug.log from the wp-config file.

    Please access your server via (S)FTP or your hosting panel, edit wp-config.php file, find a line like define('WP_DEBUG', false);and replace it with the following (if the above line doesn’t exist, simply insert next snippet just above the /* That’s all, stop editing! Happy blogging. */ )

    // Enable WP_DEBUG mode
    define(‘WP_DEBUG’, true);
    // Enable Debug logging to the /wp-content/debug.log file
    define(‘WP_DEBUG_LOG’, true);
    @ini_set( ‘log_errors’, 1 );
    // Disable display of errors and warnings
    define(‘WP_DEBUG_DISPLAY’, false);
    @ini_set(‘display_errors’, 0);

    Then go ahead and try to replicate the issue with schema.
    By doing so, a /wp-content/debug.log file should be created. Simply download it, rename it to debug.txt and upload it to a drive like Google Drive or dropbox, and share the download link here.

    Jonathan S

    Thread Starter exciteforlife


    Hi Jonathan,

    Thanks for your reply. Sorry I’m not very good with things like this.

    I have been told by Schema pro that the problem is smush as when it is deactivated the schema works fine. He sent me a picture showing me the error.

    It basically says

    Uncaught Type Error: this._setOptionDisabled is not a function

    Does that make sense ?


    Plugin Support Patrick – WPMU DEV Support


    Hi @exciteforlife

    Could you please send me an email to using this template:

    Subject: “Attn: Patrick Freitas”

    Message: link back to this thread for reference

    Best Regards
    Patrick Freitas

    Plugin Support Predrag – WPMU DEV Support



    We haven’t heard from you in a while so we will mark this issue as resolved.
    If you have any followup questions you can reopen it or get back to us by following instructions provided by Patrick.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Smush conflicting with schema pro’ is closed to new replies.