• Resolved marciano1

    (@marciano1)


    WordPress versión 5.8.3
    Tema actual: Twenty Twelve Child (versión 0.1.0)
    Plugin actual: WPSSO Organization Markup (versión 4.2.0)
    PHP versión 7.2.24

    Hello,
    I have some WPSSO plugins installe from a long tima.
    I only have some automated plugin updates, I didn’t have manually changed structure in this server but adding some posts or editing pages.

    Yesterday I received an email:
    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site and notifies you via this automatic email.

    In this case, WordPress has detected an error with one of your plugins, WPSSO Organization Markup.

    First, visit your website (https://….com/) and check if there are any visible problems. Next, visit the page where the error has been detected (https://….com/wp-admin/admin-ajax.php) and check if there are any visible problems.
    Error Details
    ==================
    An error of type E_ERROR occurred on line 95 of the file /path-to/wp-content/plugins/wpsso-organization/lib/filters-options.php.
    `Uncaught Error: Call to undefined method SucomUtil::get_last_num() in /path-to/wp-content/plugins/wpsso-organization/lib/filters-options.php:95
    Stack trace:
    #0 /path-to/wp-includes/class-wp-hook.php(303): WpssoOrgFiltersOptions->filter_save_setting_options(Array, false, false)
    #1 /path-to/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
    #2 /path-to/wp-content/plugins/wpsso/lib/options.php(859): apply_filters(‘wpsso_save_sett…’, Array, false, false)
    #3 /path-to/wp-content/plugins/wpsso/lib/options.php(589): WpssoOptions->save_options(‘wpsso_options’, Array, false)
    #4 /path-to/wp-content/plugins/wpsso/wpsso.php(477): WpssoOptions->check_options(‘wpsso_options’, Array, false)
    #5 /path-to/wp-includes/class-wp-hook.php(303): Wpsso->set_objects(”)
    #6 /path-to/wp-includes/clas (that’s it)

    The website was completely blocked with a warning “There has been a critical error on this website. Please check your site admin email inbox for instructions

    My database table wp-options -> option_name=active_plugins contained:

    a:20:{
    i:0;s:35:”adaptive-images/adaptive-images.php”;
    i:1;s:25:”add-to-any/add-to-any.php”;
    i:2;s:23:”anti-spam/anti-spam.php”;
    i:3;s:33:”classic-editor/classic-editor.php”;
    i:4;s:43:”comments-from-facebook/facebook-comment.php”;
    i:5;s:55:”gpp-improve-image-quality/gpp-improve-image-quality.php”;
    i:6;s:49:”gtmetrix-for-wordpress/gtmetrix-for-wordpress.php”;
    i:7;s:41:”imagemagick-engine/imagemagick-engine.php”;
    i:8;s:29:”notification/notification.php”;
    i:9;s:48:”php-compatibility-checker/wpengine-phpcompat.php”;
    i:10;s:60:”quick-pagepost-redirect-plugin/page_post_redirect_plugin.php”;
    i:11;s:47:”regenerate-thumbnails/regenerate-thumbnails.php”;
    i:12;s:35:”wp-fastest-cache/wpFastestCache.php”;
    i:13;s:15:”wpsso/wpsso.php”;
    i:14;s:41:”wpsso-organization/wpsso-organization.php”;
    i:15;s:23:”wpsso-plm/wpsso-plm.php”;
    i:16;s:27:”wpsso-rrssb/wpsso-rrssb.php”;
    i:17;s:45:”wpsso-schema-json-ld/wpsso-schema-json-ld.php”;
    i:18;s:53:”wpsso-tune-image-editors/wpsso-tune-image-editors.php”;
    i:19;s:21:”wpsso-um/wpsso-um.php”;}

    Editing this field and deleting all wpsso plugins worked to have the website online again.
    Then I was enabling some of them, one by one, starting over each time I got the general error.

    This is the plugin schema I have working today:

    a:17:{i:0;s:35:”adaptive-images/adaptive-images.php”;i:1;s:25:”add-to-any/add-to-any.php”;i:2;s:23:”anti-spam/anti-spam.php”;i:3;s:33:”classic-editor/classic-editor.php”;i:4;s:43:”comments-from-facebook/facebook-comment.php”;i:5;s:55:”gpp-improve-image-quality/gpp-improve-image-quality.php”;i:6;s:49:”gtmetrix-for-wordpress/gtmetrix-for-wordpress.php”;i:7;s:41:”imagemagick-engine/imagemagick-engine.php”;i:8;s:29:”notification/notification.php”;i:9;s:48:”php-compatibility-checker/wpengine-phpcompat.php”;i:10;s:60:”quick-pagepost-redirect-plugin/page_post_redirect_plugin.php”;i:11;s:47:”regenerate-thumbnails/regenerate-thumbnails.php”;
    i:12;s:35:”wp-fastest-cache/wpFastestCache.php”;
    i:13;s:15:”wpsso/wpsso.php”;
    i:14;s:27:”wpsso-rrssb/wpsso-rrssb.php”;
    i:15;s:53:”wpsso-tune-image-editors/wpsso-tune-image-editors.php”;
    i:16;s:21:”wpsso-um/wpsso-um.php”;}

    Enabling Organization Markup, PLM or JSON-LD Markup plugins I get
    There has been a critical error on this website. Please check your site admin email inbox for instructions

    How to solve this issue?
    Thank you

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

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

    (@jsmoriss)

    The WPSSO ORG and WPSSO PLM add-ons have been deprecated for a while now – there would have been a message in the SSO notification area about these add-ons being deprecated and replaced by the new WPSSO OPM add-on (uses custom post types to make management easier and improve performance). You should deactivate and delete both those add-ons and activate the WPSSO OPM add-on.

    I’ve released WPSSO Core v9.14.2 this morning to re-add those deprecated methods, but to make sure you don’t have any similar issues in the future, you should deactivate the WPSSO ORG and WPSSO PLM add-ons as they are no longer being maintained (or tested with newer WPSSO Core versions). ??

    js.

    Thread Starter marciano1

    (@marciano1)

    I also deleted JSON-LD, it is included in the core and installed OPM.

    Thank you!
    M

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with some WPSSO plugins’ is closed to new replies.