• Resolved ufo56

    (@ufo56)


    Hi

    Im getting error on product edit page when plugin is enabled. All latest versions of WP and Woo.

     Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, function "post_auto_andmed" not found or invalid function name in /www/apache/domains/www/htdocs/wp-admin/includes/template.php:1456
    Stack trace:
    #0 /www/apache/domains/www/htdocs/wp-admin/edit-form-advanced.php(716): do_meta_boxes(Object(WP_Screen), 'side', Object(WP_Post))
    #1 /www/apache/domains/www/htdocs/wp-admin/post.php(206): require('/www/apache/dom...')
    #2 {main}
    thrown in /www/apache/domains/www/htdocs/wp-admin/includes/template.php on line 1456
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Steve Burge

    (@stevejburge)

    Hi @ufo56. Thanks for using TaxoPress.

    That error doesn’t refer to TaxoPress at all. Are you sure it’s an issue with our plugin?

    Thread Starter ufo56

    (@ufo56)

    Not sure, reinstalled wp core also for good measure. All other plugins are quite usual elementor etc. Only Woo and Taxopress endabled i get this error also.

    • This reply was modified 1 month, 2 weeks ago by ufo56.
    Plugin Author Steve Burge

    (@stevejburge)

    OK, thanks @ufo56. If you find out more details, please let us know. There’s not much we can do from this error.

    developer

    (@developerdwis)

    Hi,
    I’m getting an error when creating a new post while the plugin is enabled. It worked fine before with PHP 7, but it’s not functioning properly with PHP 8.1.

    Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, function “category_name” not found or invalid function name in /wp-admin/includes/template.php:1456 Stack trace: #0 wp-admin/edit-form-advanced.php(716): do_meta_boxes(Object(WP_Screen), ‘side’, Object(WP_Post)) #1 wp-admin/post-new.php(75): require(‘/Applications/X…’) #2 {main} thrown in?wp-admin/includes/template.php?on line?1456

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @developerdwis. Thanks for using TaxoPress. This error still doesn’t point to TaxoPress so we’ll need more debugging please. For example:

    • Do you have any custom taxonomies in TaxoPress? Does it help if you disable them?
    • Does it help if you change the theme?
    • Does it help if you disable the other plugins one-by-one?
    developer

    (@developerdwis)

    Do you have any custom taxonomies in TaxoPress

    Reply  : yes,

    Does it help if you disable them?

    Reply: yes, I disabled taxopress.

    Does it help if you change the theme?

    Reply: no, same issue coming 

    Does it help if you disable the other plugins one-by-one?

    Reply: No, Same issue coming but if taxopress disable then working.

    Plugin Author Steve Burge

    (@stevejburge)

    Thanks for the answers, @developerdwis. What taxonomies do you have applied to this post type?

    developer

    (@developerdwis)

    Thank for reply.

    I have added Media post type.

    • This reply was modified 4 weeks, 1 day ago by developer.
    Plugin Author Steve Burge

    (@stevejburge)

    Please try disabling that. It is only designed for the Media Library.

    developer

    (@developerdwis)

    I left the ‘Metabox callback’ blank, and it’s resolved now.
    Thanks,

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