• Resolved risu89

    (@risu89)


    Hey,

    I installed Rank Math, updated to the latest version. I wanted to add title and meta description to category subpages, but I don’t have that option. There is only a message at the top “There has been a critical error on this website. Please check your site admin email inbox for instructions.”.

    I have the “Add SEO Controls” option active in the settings. On the post and pages, everything works correctly. Only the categories do not work. Any ideas what to do?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @risu89,

    Thank you for contacting the support.

    Please share the error log with us as having an error log from your server will help us determine what is causing the issue.

    You can follow this guide to enable debugging in WordPress
    https://www.ads-software.com/support/article/debugging-in-wordpress/ or you can get in touch with your web host, and they will help you locate the log file.

    Meanwhile, you can also follow this guide to figure out if the issue is related to a plugin conflict: https://rankmath.com/kb/check-plugin-conflicts/

    Looking forward to helping you.

    Thread Starter risu89

    (@risu89)

    Hi,

    thank you very much for your quick reply. I used “Health Check Plugin” and the error occurs because of the theme I’m using (with Twenty Twenty-Three everything is ok).
    Log file (I only removed the username (X) and domain name (Y)):

    [16-Aug-2023 18:33:55 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_placeholder_img_src() in /home/X/domains/Y/public_html/wp-content/themes/goya/inc/woocommerce/category-image.php:18
    Stack trace:
    #0 /home/X/domains/Y/public_html/wp-includes/class-wp-hook.php(308): goya_edit_category_header_img(Object(WP_Term), 'category')
    #1 /home/X/domains/Y/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #2 /home/X/domains/Y/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/X/domains/Y/public_html/wp-admin/edit-tag-form.php(256): do_action('category_edit_f...', Object(WP_Term), 'category')
    #4 /home/X/domains/Y/public_html/wp-admin/term.php(74): require('/home/X/dom...')
    #5 {main}
      thrown in /home/X/domains/Y/public_html/wp-content/themes/goya/inc/woocommerce/category-image.php on line 18
    [16-Aug-2023 18:34:19 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_placeholder_img_src() in /home/X/domains/Y/public_html/wp-content/themes/goya/inc/woocommerce/category-image.php:18
    Stack trace:
    #0 /home/X/domains/Y/public_html/wp-includes/class-wp-hook.php(308): goya_edit_category_header_img(Object(WP_Term), 'category')
    #1 /home/X/domains/Y/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #2 /home/X/domains/Y/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/X/domains/Y/public_html/wp-admin/edit-tag-form.php(256): do_action('category_edit_f...', Object(WP_Term), 'category')
    #4 /home/X/domains/Y/public_html/wp-admin/term.php(74): require('/home/X/dom...')
    #5 {main}
      thrown in /home/X/domains/Y/public_html/wp-content/themes/goya/inc/woocommerce/category-image.php on line 18
    [16-Aug-2023 18:34:25 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_placeholder_img_src() in /home/X/domains/Y/public_html/wp-content/themes/goya/inc/woocommerce/category-image.php:18
    Stack trace:
    #0 /home/X/domains/Y/public_html/wp-includes/class-wp-hook.php(308): goya_edit_category_header_img(Object(WP_Term), 'category')
    #1 /home/X/domains/Y/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #2 /home/X/domains/Y/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /home/X/domains/Y/public_html/wp-admin/edit-tag-form.php(256): do_action('category_edit_f...', Object(WP_Term), 'category')
    #4 /home/X/domains/Y/public_html/wp-admin/term.php(74): require('/home/X/dom...')
    #5 {main}
      thrown in /home/X/domains/Y/public_html/wp-content/themes/goya/inc/woocommerce/category-image.php on line 18
    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @risu89,

    Since the issue is coming from your theme, please get in touch with your theme’s support and inform them about the issue. They should be able to resolve this on their end.

    Let us know how that goes. Looking forward to your update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No possibility to edit title and meta description for categories-critical error’ is closed to new replies.