• Resolved Cory Hughart

    (@cr0ybot)


    I’m seeing 500 errors in the logs during some calls to wp-admin/admin-ajax.php:

    [28-Jan-2024 01:37:10 UTC] PHP Warning: Undefined array key "gpfwproductID" in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 9
    
    [28-Jan-2024 01:37:10 UTC] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 9
    
    [28-Jan-2024 01:37:10 UTC] PHP Warning: Undefined array key "var_pro_ID" in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 10
    
    [28-Jan-2024 01:37:10 UTC] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 10
    
    [28-Jan-2024 01:37:10 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_price() on bool in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php:17
    
    Stack trace:
    
    #0 /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/class-gift-pack-for-woocommerce-public.php(223): include()
    
    #1 /nas/content/live/wpsite/wp-includes/class-wp-hook.php(324): Gift_Pack_For_Woocommerce_Public->gpfw_check_gift_wrap_function('')
    
    #2 /nas/content/live/wpsite/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    
    #3 /nas/content/live/wpsite/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #4 /nas/content/live/wpsite/wp-admin/admin-ajax.php(203): do_action('wp_ajax_nopriv_...')
    
    #5 {main}
    
    thrown in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 17
    
    [28-Jan-2024 01:37:10 UTC] PHP Warning: Undefined array key "gpfwproductID" in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 9
    
    [28-Jan-2024 01:37:10 UTC] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 9
    
    [28-Jan-2024 01:37:10 UTC] PHP Warning: Undefined array key "var_pro_ID" in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 10
    
    [28-Jan-2024 01:37:10 UTC] PHP Deprecated: stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 10
    
    [28-Jan-2024 01:37:10 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_price() on bool in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php:17
    
    Stack trace:
    
    #0 /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/class-gift-pack-for-woocommerce-public.php(223): include()
    
    #1 /nas/content/live/wpsite/wp-includes/class-wp-hook.php(324): Gift_Pack_For_Woocommerce_Public->gpfw_check_gift_wrap_function('')
    
    #2 /nas/content/live/wpsite/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    
    #3 /nas/content/live/wpsite/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #4 /nas/content/live/wpsite/wp-admin/admin-ajax.php(203): do_action('wp_ajax_nopriv_...')
    
    #5 {main}
    
    thrown in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/partials/gift-pack-html.php on line 17
    
    [28-Jan-2024 01:37:10 UTC] PHP Deprecated: Creation of dynamic property Gift_Pack_For_Woocommerce_Admin::$current_language is deprecated in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/admin/class-gift-pack-for-woocommerce-admin.php on line 56
    
    [28-Jan-2024 01:37:10 UTC] PHP Deprecated: Creation of dynamic property Gift_Pack_For_Woocommerce_Public::$gpfw_options is deprecated in /nas/content/live/wpsite/wp-content/plugins/gift-pack-for-woocommerce/public/class-gift-pack-for-woocommerce-public.php on line 54

    I’m not sure, but this may be related to the other open topic about a plugin conflict with ATUM Multi-Inventory, since that plugin is active.

    The site is on WordPress 6.4.2, WooCommerce 8.5.2, and PHP 8.2.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Mayur Prajapati

    (@mayur8991)

    Hello Cory

    Thank you for bringing this to our attention. We understand the concern regarding the 500 errors in the logs and the potential connection to the plugin conflict with ATUM Multi-Inventory.

    It’s possible that there might be a compatibility issue between our plugin and ATUM Multi-Inventory under specific circumstances.

    We will investigate this further to see if there is indeed a compatibility issue. If needed, we will work on a fix or provide guidance on how to resolve the conflict.

    Thank You

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error during wp-ajax’ is closed to new replies.