Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/Issue: Uncaught Error: Call to undefined function FS\Components\Event\Listener\wc_get_page_screen_id() #93

Open
VSWebTeam opened this issue Feb 7, 2024 · 0 comments

Comments

@VSWebTeam
Copy link

We're getting an error when editing a site page or a product page. The error details are below.

Here are the details of our site:
WordPress version 5.9.8
Current theme: Divi Child (version )
Current plugin: FlagShip WooCommerce Shipping (version 3.0.25)
PHP version 8.0.30

Error Details

An error of type E_ERROR was caused in line 68 of the file /home/ecoaquariums/public_html/wp-content/plugins/flagship-woocommerce-shipping/src/Components/Event/Listener/MetaboxDisplay.php. Error message: Uncaught Error: Call to undefined function FS\Components\Event\Listener\wc_get_page_screen_id() in /home/ecoaquariums/public_html/wp-content/plugins/flagship-woocommerce-shipping/src/Components/Event/Listener/MetaboxDisplay.php:68
Stack trace:
#0 /home/ecoaquariums/public_html/wp-includes/class-wp-hook.php(309): FS\Components\Event\Listener\MetaboxDisplay->FS\Components\Event\Listener{closure}('product')
#1 /home/ecoaquariums/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#2 /home/ecoaquariums/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /home/ecoaquariums/public_html/wp-admin/includes/meta-boxes.php(1581): do_action('add_meta_boxes', 'product', Object(WP_Post))
#4 /home/ecoaquariums/public_html/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes(Object(WP_Post))
#5 /home/ecoaquariums/public_html/wp-admin/post.php(206): require('/home/ecoaquari...')
#6 {main}
thrown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant