• Resolved ravinawebential

    (@ravinawebential)


    I tried to install this plugin and it throws error while I try to activate it with PHP 7.4 , but worked when I switched from PHP 7.4 to PHP 7.2

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support tomasz_bednarek

    (@tomasz_bednarek)

    Hi @ravinawebential

    thank you for your message. Could you send us an error message/ notice so that we can check it. It could be some missing libraries for example in PHP 7.2 that might have caused the error you’d encountered.

    Best,

    Thread Starter ravinawebential

    (@ravinawebential)

    Hi tomasz_bednarek

    Thank you for your reply. The error given below displays when I try to activate the plugin.

    Plugin could not be activated because it triggered a?fatal error.

    Plugin Support tomasz_bednarek

    (@tomasz_bednarek)

    Hi @ravinawebential

    I see. If you’re using WooCommerce go to WooCommerce->Status->Logs. With WordPress alone, you can find error logs in the debug.log file in wp-content on the server/ hosting you have your WordPress installed.

    You should find the information about the error/notice there. Please send it back if you find it.

    Best,

    Thread Starter ravinawebential

    (@ravinawebential)

    Hi @tomasz_bednarek

    This is the error I found :

    2023-10-18T04:03:27+00:00 CRITICAL Uncaught WC_Data_Exception: Invalid or duplicated SKU. in G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-data.php:900 Stack trace: #0 G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-product.php(829): WC_Data->error(‘product_invalid…’, ‘Invalid or dupl…’, 400, Array) #1 G:\laragon\www\wp-ajaxify\wp-content\plugins\programattically_add_woocomm_prod\class_quadlayers_add_product.php(39): WC_Product->set_sku(‘wzrd-hat’) #2 G:\laragon\www\wp-ajaxify\wp-includes\class-wp-hook.php(312): QuadLayers_class->quadlayers_add_product(‘flexible-invoic…’) #3 G:\laragon\www\wp-ajaxify\wp-includes\class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #4 G:\laragon\www\wp-ajaxify\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #5 G:\laragon\www\wp-ajaxify\wp-admin\includes\plugin.php(720): do_action(‘activated_plugi…’, ‘flexible-invoic…’, false) #6 G:\laragon\www\wp-ajaxify\wp-admin\plugins.php(58): activate_plugin(‘flexible-i in G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-data.php on line 900 2023-10-18T04:05:36+00:00 CRITICAL syntax error, unexpected ‘)’ in G:\laragon\www\wp-ajaxify\wp-content\plugins\seo-by-rank-math\includes\modules\sitemap\providers\class-taxonomy.php on line 150 2023-10-18T04:07:49+00:00 CRITICAL syntax error, unexpected ‘)’ in G:\laragon\www\wp-ajaxify\wp-content\plugins\seo-by-rank-math\includes\modules\sitemap\providers\class-taxonomy.php on line 150 2023-10-18T09:57:50+00:00 CRITICAL syntax error, unexpected ‘)’ in G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\wccom-site\rest-api\endpoints\class-wc-rest-wccom-site-ssr-controller.php on line 53 2023-10-18T10:10:17+00:00 CRITICAL Uncaught WC_Data_Exception: Invalid or duplicated SKU. in G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-data.php:900 Stack trace: #0 G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-product.php(829): WC_Data->error(‘product_invalid…’, ‘Invalid or dupl…’, 400, Array) #1 G:\laragon\www\wp-ajaxify\wp-content\plugins\programattically_add_woocomm_prod\class_quadlayers_add_product.php(39): WC_Product->set_sku(‘wzrd-hat’) #2 G:\laragon\www\wp-ajaxify\wp-includes\class-wp-hook.php(312): QuadLayers_class->quadlayers_add_product(‘flexible-invoic…’) #3 G:\laragon\www\wp-ajaxify\wp-includes\class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #4 G:\laragon\www\wp-ajaxify\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #5 G:\laragon\www\wp-ajaxify\wp-admin\includes\plugin.php(720): do_action(‘activated_plugi…’, ‘flexible-invoic…’, false) #6 G:\laragon\www\wp-ajaxify\wp-admin\plugins.php(58): activate_plugin(‘flexible-i in G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-data.php on line 900 2023-10-18T10:34:48+00:00 CRITICAL Uncaught WC_Data_Exception: Invalid or duplicated SKU. in G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-data.php:900 Stack trace: #0 G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-product.php(829): WC_Data->error(‘product_invalid…’, ‘Invalid or dupl…’, 400, Array) #1 G:\laragon\www\wp-ajaxify\wp-content\plugins\programattically_add_woocomm_prod\class_quadlayers_add_product.php(39): WC_Product->set_sku(‘wzrd-hat’) #2 G:\laragon\www\wp-ajaxify\wp-includes\class-wp-hook.php(312): QuadLayers_class->quadlayers_add_product(‘phone-orders-fo…’) #3 G:\laragon\www\wp-ajaxify\wp-includes\class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #4 G:\laragon\www\wp-ajaxify\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #5 G:\laragon\www\wp-ajaxify\wp-admin\includes\plugin.php(720): do_action(‘activated_plugi…’, ‘phone-orders-fo…’, false) #6 G:\laragon\www\wp-ajaxify\wp-admin\plugins.php(58): activate_plugin(‘phone-orde in G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-data.php on line 900

    Plugin Support tomasz_bednarek

    (@tomasz_bednarek)

    Thank you @ravinawebential

    The logs point that the error is caused by WooCommerce itself and will affect all plugins (WC_Data_Exception: Invalid or duplicated SKU. in G:\laragon\www\wp-ajaxify\wp-content\plugins\woocommerce\includes\abstracts\abstract-wc-data.php:900) for example the Phone Orders plugin. There is also wrong syntax (parenthesis) in the code of the Seo by rank plugin.

    Try to install a fresh WooCommerce and these 2 plugins. That should help in running WooCommerce entirely and proper plugin activations (including Flexible Invoices).

    Let me know if that helped.

    Best,

    Plugin Support Tomasz WP Desk

    (@tomaszwp)

    I am marking this topic as resolved as we have not received any new replies. Please let us know if you need our help again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin does not support for PHP 7.4’ is closed to new replies.