• Resolved stencil42

    (@stencil42)


    I got a fatal error after updating wpsso-organization-place to version 3.1.0 (with WordPress 6.6.1 and wpsso 18.6.0):

    PHP Fatal error:  Uncaught Error: Class "WpssoOpmPost" not found in /home/blog/public_html/wp-content/plugins/wpsso-organization-place/wpsso-organization-place.php:86
    Stack trace:
    #0 /home/blog/public_html/wp-includes/class-wp-hook.php(322): WpssoOpm->init_objects_preloader()
    #1 /home/blog/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #2 /home/blog/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /home/blog/public_html/wp-content/plugins/wpsso/wpsso.php(440): do_action()
    #4 /home/blog/public_html/wp-includes/class-wp-hook.php(324): Wpsso->set_objects()
    #5 /home/blog/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #6 /home/blog/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #7 /home/blog/public_html/wp-settings.php(700): do_action()
    #8 /home/blog/wp-config.php(119): require_once('...')
    #9 /home/blog/public_html/wp-load.php(55): require_once('...')
    #10 /home/blog/public_html/wp-blog-header.php(13): require_once('...')
    #11 /home/blog/public_html/index.php(17): require('...')
    #12 {main}
    thrown in /home/blog/public_html/wp-content/plugins/wpsso-organization-place/wpsso-organization-place.php on line 86

    I think it’s related to this change introduced in 3.1.0:

    Changed the main instantiation action hook from ‘init_objects’ to ‘init_objects_preloader’.

    Suffice to say, this broke my site and likely warrants an urgent bugfix. I had to rename the plugin folder to get it working again (wp-cli was unusable).

    Please let me know if you need additional information.

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

    (@jsmoriss)

    WPSSO Core sorts the active plugins array so WPSSO Core loads before its add-ons. You must have another plugin re-sorting the active plugins array after WPSSO Core. WPSSO Core v18.7.0 and WPSSO OPM v3.2.0 should resolve that issue for you.

    js.

    Thread Starter stencil42

    (@stencil42)

    WPSSO Core v18.7.0 and WPSSO OPM v3.2.0 should resolve that issue for you.

    That worked, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.