AliDropship PHP error - adsCurrency.php

frogfrogfrog

New Member
Hello,

So, currently, there is an adsCurrency.php error displayed on pages.

Woocommerce is up to date. Flatsome theme is up to date.

Is there any solution on how to stop this from being displayed?

(Warning: Trying to access array offset on value of type bool in [...] /plugins/alidswoo/includes/adsw/adsCurrency.php on line 0)
 

Sergei Alidropship

Administrator
Staff member
Hello,

So, currently, there is an adsCurrency.php error displayed on pages.

Woocommerce is up to date. Flatsome theme is up to date.

Is there any solution on how to stop this from being displayed?

(Warning: Trying to access array offset on value of type bool in [...] /plugins/alidswoo/includes/adsw/adsCurrency.php on line 0)
Hello! We are working on that issue
 

zijiao

New Member
Hello! We are working on that issue
Call stack:


  1. wp-content/plugins/alidswoo/includes/adsw/adsCurrency.php:0
    wp-content/plugins/alidswoo/includes/adsw/adsCurrency.php
    • adsw\adsCurrency::get_currencies()
      wp-content/plugins/alidswoo/includes/adsw/adsCurrency.php
    • adsw\adsCurrency->__construct()
      wp-content/plugins/alidswoo/core/init.php
    • init_adsw_currency()
      wp-includes/class-wp-hook.php:324
    • do_action('init')
      wp-settings.php:643
 

frogfrogfrog

New Member
Hello! The problem is still under investigation. We are working on that. For now, please, disable debug mode on your website to hide these warnings.

Hi, any ideas how to solve this critical error ? :

2023-12-07T11:56:38+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /home/random/public_html/wp-content/plugins/alidswoo/includes/adsw/adsProductUpdate.php:0

Stack trace:
#0 /home/random/public_html/wp-content/plugins/alidswoo/includes/adsw/adsProductUpdate.php(0): adsw\adsProductUpdate->update_supplier_variations(Array, Array, 0, Array)
#1 /home/random/public_html/wp-content/plugins/alidswoo/includes/adsw/adsProductUpdate.php(0): adsw\adsProductUpdate->action_update_product_suppliers(Array)
#2 /home/random/public_html/wp-content/plugins/alidswoo/admin/handlers.php(0): adsw\adsProductUpdate->actions(Array)
#3 /home/random/public_html/wp-includes/class-wp-hook.php(324): ads_ajax_update_product('')
#4 /home/random/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#5 /home/random/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/random/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_ads_upd...')
#7 {main}
thrown in /home/random/public_html/wp-content/plugins/alidswoo/includes/adsw/adsProductUpdate.php on line 0
 

barrelofyarn

New Member
Hello,
So, currently, there is an adsCurrency.php error displayed on pages.

Woocommerce is up to date. Flatsome theme is up to date.

Is there any solution on how to stop this from being displayed?

(Warning: Trying to access array offset on value of type bool in [...] /plugins/alidswoo/includes/adsw/adsCurrency.php on line 0)
Have you received any solution to this problem? I am currently having this problem and have been waiting for a fix since 27 March 2024. They came back with: Change your theme, and turn off debug. Neither of which was the problem. I wanna know if i can switch my plugin and get out of the plugin all together.
 

barrelofyarn

New Member
Hello! We are working on that issue
What is the update on this problem Sergei? This is an ongoing problem and I have had issues exporting products and a real slow down on my website. I am considering redoing my website as I cannot have this go on and not be able to release my website only to have issue upon issue that Alidropship cannot fix.
 

shopddlg

New Member
@

barrelofyarn yeah. Im new at this but some of the issues ive encountered and searched online for go back years.​


Is there a specific version of WooCommerce WordPress and Ali dropship for woo plugin that works. Problem as soon as i try to downgrade the alidopship plugin, authentication is not there, cause the alidrop menu is not there to auth and it makes me install php to a newer version which breaks things again. Whats the secret version of all the things to make it work.


Deprecated: Creation of dynamic property adsw\Api\REST::$media is deprecated in /home/u828574735/domains/somewhere/public_html/wp-content/plugins/alidswoo/includes/adsw/Api/REST.php on line 0

Deprecated
: Creation of dynamic property adsw\Api\REST::$update is deprecated in /home/u828574735/domains/somewhere/public_html/wp-content/plugins/alidswoo/includes/adsw/Api/REST.php on line 0
Warning
: Trying to access array offset on value of type bool in /home/u828574735/domains/shopddlg.com/public_html/wp-content/plugins/alidswoo/includes/adsw/adsCurrency.php on line 0
 

cowmmerce

New Member
Hi, any ideas how to solve this critical error ? :

2023-12-07T11:56:38+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /home/random/public_html/wp-content/plugins/alidswoo/includes/adsw/adsProductUpdate.php:0

Stack trace:
#0 /home/random/public_html/wp-content/plugins/alidswoo/includes/adsw/adsProductUpdate.php(0): adsw\adsProductUpdate->update_supplier_variations(Array, Array, 0, Array)
#1 /home/random/public_html/wp-content/plugins/alidswoo/includes/adsw/adsProductUpdate.php(0): adsw\adsProductUpdate->action_update_product_suppliers(Array)
#2 /home/random/public_html/wp-content/plugins/alidswoo/admin/handlers.php(0): adsw\adsProductUpdate->actions(Array)
#3 /home/random/public_html/wp-includes/class-wp-hook.php(324): ads_ajax_update_product('')
#4 /home/random/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#5 /home/random/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/random/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_ads_upd...')
#7 {main}
thrown in /home/random/public_html/wp-content/plugins/alidswoo/includes/adsw/adsProductUpdate.php on line 0
Any solution for this problem??? I am having a similar message and it generates a fatal error in PHP.
 

cowmmerce

New Member
What is the update on this problem Sergei? This is an ongoing problem and I have had issues exporting products and a real slow down on my website. I am considering redoing my website as I cannot have this go on and not be able to release my website only to have issue upon issue that Alidropship cannot fix.
I have the same problem!! Any solution by Alidropship??
 

cowmmerce

New Member
This is the message in my log:
2024/06/04 02:13:15 [error] 13290#13290: *322156 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /www/cowmmerce_859/public/wp-content/plugins/alidswoo/includes/adsw/adsCurrency.php:0
Stack trace:
#0 /www/cowmmerce_859/public/wp-content/plugins/alidswoo/includes/adsw/adsCurrency.php(0): adsw\adsCurrency->get_currency_rate()
#1 /www/cowmmerce_859/public/wp-content/plugins/alidswoo/includes/adsw/adsCurrency.php(0): adsw\adsCurrency->exchange(416.0)
#2 /www/cowmmerce_859/public/wp-includes/class-wp-hook.php(326): adsw\adsCurrency->raw_woocommerce_price(416.0)
#3 /www/cowmmerce_859/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(416.0, Array)
#4 /www/cowmmerce_859/public/wp-content/plugins/woocommerce/includes/wc-formatting-functions.php(595): apply_filters('raw_woocommerce...', 416.0, '416.00')
#5 /www/cowmmerce_859/public/wp-content/plugins/alidswoo/core/filters.php(0): wc_price(416.0)
#6 /www/cowmmerce_859/public/wp-includes/class-wp-hook.php(324): adsw_filter_content_price('<p>&nbsp;</p>\n<...')
#7 /www" while reading response header from upstream, client: 34.148.52.18, server: cowmmerce.com, request: "GET /producto/mesa-plegable-para-laptop-de-madera-escritorio-para-cama-plegable-portatil-y-soporte-portavasos-accesorios-para-lap-top-soporte-para-laptop/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.1-fpm-cowmmerce.sock:", host: "cowmmerce.com:33207"
 

barrelofyarn

New Member
I solved this myself. I wrote it yesterday but for some reason it did not post. I ended up going to my PHP Configuration panel and going back a version and updating and then coming back to PHP 8.1 version. It worked and I'm not sure why.
 

Attachments

  • Screenshot 2024-06-04 124958.png
    Screenshot 2024-06-04 124958.png
    114.7 KB · Views: 10
Top