• Resolved Christian Abu

    (@christian-abu)


    Hi,

    i have installed the FAQ Adon. Unfortunately I get a critical error as soon as I insert a shortcode.

    The error also happens to all pages, in posts, pages or product categories. It doesn’t matter whether I use the shortcode with individual questions or with groups of questions.

    In the backend, i.e. the pages when I create the questions etc., everything works wonderfully. Just as soon as I insert the shortcode, my site crashes with a critical error.

    Where can this error come from and what can I do?

    Best Regards

    Christian

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

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

    (@jsmoriss)

    Please copy-paste the text of that critical error.

    js.

    Thread Starter Christian Abu

    (@christian-abu)

    Hi, thanks for the answer. But why is it marked as solved? ??

    Here is the error:

    WordPress version 6.4.2 Active

    Theme: Enfold Child (Version 1.0)

    Current plugin: WPSSO FAQ Manager (version 5.1.0)

    PHP version 8.2.14

    Error details ==============

    An E_ERROR error was caused on line 120 of the file /var/www/vhosts/sarisgarage.shop/httpdocs/wp-content/plugins/wpsso-faq/lib/shortcode/question.php.

    Error message: Uncaught Error: Call to undefined method SucomUtilWP::get_post_object() in /var/www/vhosts/sarisgarage.shop/httpdocs/wp-content/plugins/wpsso-faq/lib/shortcode/question.php:120 Stack trace: #0 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/shortcodes.php(433): WpssoFaqShortcodeQuestion->do_shortcode() #1 [internal function]: do_shortcode_tag() #2 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/shortcodes.php(273): preg_replace_callback() #3 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-content/plugins/wpsso-faq/lib/shortcode/faq.php(183): do_shortcode() #4 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/shortcodes.php(433): WpssoFaqShortcodeFaq->do_shortcode() #5 [internal function]: do_shortcode_tag() #6 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/shortcodes.php(273): preg_replace_callback() #7 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/class-wp-hook.php(324): do_shortcode() #8 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #9 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-content/plugins/wpsso/lib/util.php(3368): apply_filters() #10 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-content/plugins/wpsso/lib/page.php(1837): WpssoUtil->safe_apply_filters() #11 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-content/plugins/wpsso/lib/page.php(2219): WpssoPage->get_the_content() #12 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-content/plugins/wpsso/lib/abstract/wp-meta.php(312): WpssoPage->get_reading_mins() #13 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-content/plugins/wpsso/lib/abstract/wp-meta.php(1791): WpssoAbstractWpMeta->get_defaults() #14 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-content/plugins/wpsso/lib/post.php(693): WpssoAbstractWpMeta->get_submit_opts() #15 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/class-wp-hook.php(326): WpssoPost->save_options() #16 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #17 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #18 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/post.php(4760): do_action() #19 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-includes/post.php(4862): wp_insert_post() #20 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-admin/includes/post.php(453): wp_update_post() #21 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-admin/includes/post.php(2072): edit_post() #22 /var/www/vhosts/sarisgarage.shop/httpdocs/wp-admin/post.php(336): post_preview() #23 {main} thrown

    Plugin Author JS Morisset

    (@jsmoriss)

    Error message: Uncaught Error: Call to undefined method SucomUtilWP::get_post_object()

    It looks like you have one or more plugins using an older version of the SucomUtilWP class — one of the JSM Show Metadata plugins maybe? I’m guessing you have some pending updates for those?

    js.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical Error’ is closed to new replies.