Support » Plugin: Advanced Dynamic Pricing for WooCommerce » Fatal Error on Product page

  • Hi there,

    We are experiencing technical problems with the plugin when managing our product in the admin panel, WordPress shows a message saying that there is a fatal error in connection with this plugin and also sends an email to the WordPress admin saying just that.

    It is working just fine on the frontend so it’s not a major issue, but it seems to have an issue in the admin panel product page.

    It would be great if you could look into that.

    Thank you very much,
    TNRFX

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hi

    please, visit >WooCommerce>Status>Logs and review last “fatal-error-xxx” file.
    thanks, Alex

    Hi,

    Thank you for your quick response. Please find the error log details from today below.
    I hope that helps.

    2020-05-15T14:55:43+00:00 CRITICAL Uncaught Error: Call to a member function get_variation_attributes() on bool in /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php:201
    Stack trace:
    #0 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php(328): Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore->include_extended_info(Array, Array)
    #1 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore->get_data(Array)
    #2 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/Query.php(48): WC_Data_Store->__call('get_data', Array)
    #3 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/Controller.php(73): Automattic\WooCommerce\Admin\API in /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php in Zeile 201
    
    2020-05-15T14:55:55+00:00 CRITICAL Uncaught Error: Call to a member function get_variation_attributes() on bool in /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php:201
    Stack trace:
    #0 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php(328): Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore->include_extended_info(Array, Array)
    #1 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore->get_data(Array)
    #2 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/Query.php(48): WC_Data_Store->__call('get_data', Array)
    #3 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/Controller.php(73): Automattic\WooCommerce\Admin\API in /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php in Zeile 201
    
    2020-05-15T16:43:06+00:00 CRITICAL Uncaught Error: Call to a member function get_id() on bool in /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/classes/admin/class-wdp-settings.php:69
    Stack trace:
    #0 /home/trhotm8/www/protectandsmile.ch/wp-includes/class-wp-hook.php(287): WDP_Settings->edit_rules_panel('')
    #1 /home/trhotm8/www/protectandsmile.ch/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /home/trhotm8/www/protectandsmile.ch/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php(53): do_action('woocommerce_pro...')
    #4 /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(33): include('/home/trhotm8/w...')
    #5 /home/trhotm8/www/protectandsmile.ch/wp-admin/includes/template.php(1345): WC_Meta_Box_Product_Data::output(Object(WP_Post), Array)
    #6 /home/trhotm8/www/pro in /home/trhotm8/www/protectandsmile.ch/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/classes/admin/class-wdp-settings.php in Zeile 69

    Thank you for the help.

    Plugin Author algol.plus

    (@algolplus)

    Hello

    could you visit >WooCommerce>Prcing Rules>Settings>System and turn off “Apply pricing rules to backend orders” ?

    Hey,

    I tested disabling the option you mentioned and went back to the product page on the backend, unfortunately, the problem still exists. Also, we need the pricing rules enabled for backend orders, as we are adding a few orders manually.

    Is there anything else we can try?
    Thank you very much.

    Plugin Author algol.plus

    (@algolplus)

    Hello

    Could you record video
    (please show actions which I must do to repeat the error)

    and share it via https://algolplus.freshdesk.com/ ?

    thanks, Alex

    hello
    I have the same problem as alex, Have you found a solution?

    Ascoly

    Plugin Author algol.plus

    (@algolplus)

    Hello

    No, I still wait for details.

    Could you record video
    (please show actions which I must do to repeat the error)

    and share it via https://algolplus.freshdesk.com/ ?

    thanks, Alex

    I found the problem, there is a conflict between two plugins, elementor and Advanced Dynamic Pricing for WooCommerce. And this causes an error. What is the solution?

    Plugin Author algol.plus

    (@algolplus)

    hi

    thank you.
    @tnrfx , do you use Elementor too ?

    Hey, yes we use Elementor on our site too.

    Plugin Author algol.plus

    (@algolplus)

    thank you .
    we’ll check this incompatibility asap

    hello, it’s been days since i have same problem and this make my website crush.

    Here, the error at error log:

    30-Jun-2020 13:41:04 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_variation_attributes() on bool in /home/nh813rj4ir6p/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php:201
    Stack trace:
    #0 /home/nh813rj4ir6p/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php(328): Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore->include_extended_info(Array, Array)
    #1 /home/nh813rj4ir6p/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): Automattic\WooCommerce\Admin\API\Reports\Variations\DataStore->get_data(Array)
    #2 /home/nh813rj4ir6p/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/Query.php(48): WC_Data_Store->__call(‘get_data’, Array)
    #3 /home/nh813rj4ir6p/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/Controller.php(73): Automattic\WooCommerce\Admin\API\Reports\Variations\Query->get in /home/nh813rj4ir6p/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/Variations/DataStore.php on line 201

    please, need help.

    Plugin Author algol.plus

    (@algolplus)

    Hello

    please, share the video via https://algolplus.freshdesk.com/
    and upload system report ( use >WooCommerce>Status to get it)

    we can’t repeat the bug.
    thanks, Alex

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