• Resolved peterbarlow

    (@peterbarlow)


    Hi, I am having errors that are causing problems with the product pages in the admin area. Basically when you go into a product page there is only one blank field and nothing else. I have included the errors below which is present under the Product Image section:

    Fatal error: Uncaught Error: Call to undefined function get_upload_iframe_src() in /home/XXXXXXX/public_html/wp-admin/includes/post.php:1522 Stack trace: #0 /home/XXXXXXX/public_html/wp-admin/includes/meta-boxes.php(1388): _wp_post_thumbnail_html(‘3943’, Object(WP_Post)) #1 /home/XXXXXXX/public_html/wp-admin/includes/template.php(1389): post_thumbnail_meta_box(Object(WP_Post), Array) #2 /home/XXXXXXX/public_html/wp-admin/edit-form-advanced.php(679): do_meta_boxes(Object(WP_Screen), ‘side’, Object(WP_Post)) #3 /home/XXXXXXX/public_html/wp-admin/post.php(206): require(‘/home/XXXXXXX/…’) #4 {main} thrown in /home/XXXXXXX/public_html/wp-admin/includes/post.php on line 1522

    Also at the top of all pages in is the following error:
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘media_buttons’ not found or invalid function name in /home/XXXXXXX/public_html/wp-includes/class-wp-hook.php on line 287

    I have debugging turned on.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty theme. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter peterbarlow

    (@peterbarlow)

    Thanks James. I installed the Health Check plug in and have disabled everything except Woocommerce (as the error is happening on the products page mainly). The error goes away when I disable Woocommerce. Support at Woocommerce.com are looking at it but it’s been a couple of days and I haven’t heard from them. Any other suggestions would be appreciated.
    thanks

    Moderator James Huff

    (@macmanx)

    Does the error continue under the Twenty Twenty theme?

    You can use the Health Check plugin’s Troubleshooting Mode to test that without affecting normal visitors to your site.

    Thread Starter peterbarlow

    (@peterbarlow)

    Hi James, yes it does. I have the Health Check plugin installed with Twenty Twenty theme loaded and only Woocommerce plugin active in Troubleshooting mode. The error at the top of the page goes away when I turn off Woocommerce and the other errors are also gone as they are appearing on the product pages under the Product Image section. Any other suggestions would be greatly appreciated.
    thanks

    Moderator James Huff

    (@macmanx)

    Ok, then waiting for WooCommerce to reply to your support ticket is pretty much the only option at this point.

    Thread Starter peterbarlow

    (@peterbarlow)

    Thanks. I’ll post in here when I get a result and let you know what it was. Unless I do a restore which is looking more likely ??
    thanks for trying!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Errors in product pages in Admin’ is closed to new replies.