• Resolved harlequ1n

    (@harlequ1n)


    Hi,

    I am using your plugin ver 1.9.82.1 with WordPress 5.7.2

    When I try to edit a blog post category [POST > CATEGORIES…. Edit Category, I get the message..

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    When I deactivate your plugin, I am able to edit this blog category as normal.

    I am guessing that this should not be happen and would be interested if you are able to replicate this. Not urgent for me as I can just deactivate your plugin to do any edits, but would prefer not to.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Magazine3

    (@magazine3)

    Can you please enable WP-debug mode and send us the screengrabs of that error? So that we can check the error and help you to fix this.

    Reference tutorial: https://structured-data-for-wp.com/docs/article/how-to-debug-fatal-errors-500-error-or-blank-screen/

    Thread Starter harlequ1n

    (@harlequ1n)

    Hi,

    I enabled WP_DEBUG and set display PHP errors to true, but nothing coming to the screen, only the critical error message.

    However the error log in the WP_Admin is showing this whenever I try to edit the category. I have only replaced my server name to ‘myserver‘.

    Error log:-

    `[17-Jul-2021 10:04:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined function saswp_post_exists() in /home/myserver/public_html/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php:4304
    Stack trace:
    #0 /home/myserver/public_html/wp-content/plugins/schema-and-structured-data-for-wp/output/function.php(1682): saswp_get_post_meta()
    #1 /home/myserver/public_html/wp-content/plugins/schema-and-structured-data-for-wp/core/array-list/schema-properties.php(873): saswp_get_the_tags()
    #2 /home/myserver/public_html/wp-content/plugins/schema-and-structured-data-for-wp/view/common.php(40): saswp_get_fields_by_schema_type()
    #3 /home/myserver/public_html/wp-content/plugins/schema-and-structured-data-for-wp/view/post_specific.php(34): saswp_view_common_class->__construct()
    #4 /home/myserver/public_html/wp-content/plugins/schema-and-structured-data-for-wp/view/post_specific.php(650): saswp_post_specific->__construct()
    #5 /home/myserver/public_html/wp-content/plugins/schema-and-structured-data-for-wp/structured-data-for-wp.php(87): require_once(‘/home/myserver…’)
    #6 /home/myserver/public_html/wp-settings.php(391): include_once(‘/home/myserver…’)
    #7 /home/myserver/public_html/wp-config.php(93): require_once(‘/home/myserver…’)
    #8 /home/myserver/public_html/wp-load.php(37): require_once(‘/home/myserver…’)
    #9 /home/myserver/public_html/wp-admin/admin.php(34): require_once(‘/home/myserver…’)
    #10 /home/myserver/public_html/wp-admin/term.php(11): require_once(‘/home/myserver…’)
    #11 {main}
    thrown in /home/myserver/public_html/wp-content/plugins/schema-and-structured-data-for-wp/admin_section/common-function.php on line 4304`

    I really hope this helps.

    Thank you.

    Plugin Author Magazine3

    (@magazine3)

    Thanks for letting me know. For this, We have raised a GitHub ticket in our repository. Our developer will fix it and we will let you know back once it’s ?fixed.

    For reference you can also track it in the below-mentioned ticket:
    https://github.com/ahmedkaludi/schema-and-structured-data-for-wp/issues/1484

    Plugin Author Magazine3

    (@magazine3)

    Our developer has been fixed this issue in our latest update 1.9.82.2. Can you please update it to the latest version and let us know back if it fixes the issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to edit Post Category’ is closed to new replies.