Fatal error in adsCurrency.php on plugin activation

duckgoesoink

New Member
Hi,

I bought the plugin last night and have had no end of trouble installing it. I'm a web developer, but this is the first time I've seen an encrypted WordPress plugin, so very disappointed about that (I don't mind paying for premium plugins, but black boxes make debugging impossible).

I installed the Ioncube loader on my local development environment (a Vagrant virtual machine), and tried activating the plugin via the WordPress UI. But as soon as I do that, it throws the following error:

Code:
Fatal error: Uncaught Error: Call to undefined function adsw\is_ajax() in /var/www/public/content/plugins/alidswoo/includes/adsw/adsCurrency.php:0 Stack trace: #0 /var/www/public/content/plugins/alidswoo/includes/adsw/adsCurrency.php(0): adsw\adsCurrency::get_currencies() #1 /var/www/public/content/plugins/alidswoo/core/init.php(0): adsw\adsCurrency->__construct() #2 /var/www/public/cms/wp-includes/class-wp-hook.php(286): init_adsw_currency('') #3 /var/www/public/cms/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /var/www/public/cms/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /var/www/public/cms/wp-settings.php(450): do_action('init') #6 /var/www/public/wp-config.php(48): require_once('/var/www/public...') #7 /var/www/public/cms/wp-load.php(42): require_once('/var/www/public...') #8 /var/www/public/cms/wp-admin/admin.php(31): require_once('/var/www/public...') #9 /var/www/public/cms/wp-admin/plugins.php(10): require_once('/var/www/public...') #10 {main} thrown in /var/www/public/content/plugins/alidswoo/includes/adsw/adsCurrency.php on line 0

Because the files are encrypted, I can't debug this by myself to see what's happening.

If a staff member could please let me know what I should do to fix this problem, that would be great because I'd rather not do a chargeback to get a refund if the plugin doesn't work.

Thank you
 

Victoria Kudryashova

Administrator
Hi,

I bought the plugin last night and have had no end of trouble installing it. I'm a web developer, but this is the first time I've seen an encrypted WordPress plugin, so very disappointed about that (I don't mind paying for premium plugins, but black boxes make debugging impossible).

I installed the Ioncube loader on my local development environment (a Vagrant virtual machine), and tried activating the plugin via the WordPress UI. But as soon as I do that, it throws the following error:

Code:
Fatal error: Uncaught Error: Call to undefined function adsw\is_ajax() in /var/www/public/content/plugins/alidswoo/includes/adsw/adsCurrency.php:0 Stack trace: #0 /var/www/public/content/plugins/alidswoo/includes/adsw/adsCurrency.php(0): adsw\adsCurrency::get_currencies() #1 /var/www/public/content/plugins/alidswoo/core/init.php(0): adsw\adsCurrency->__construct() #2 /var/www/public/cms/wp-includes/class-wp-hook.php(286): init_adsw_currency('') #3 /var/www/public/cms/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /var/www/public/cms/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /var/www/public/cms/wp-settings.php(450): do_action('init') #6 /var/www/public/wp-config.php(48): require_once('/var/www/public...') #7 /var/www/public/cms/wp-load.php(42): require_once('/var/www/public...') #8 /var/www/public/cms/wp-admin/admin.php(31): require_once('/var/www/public...') #9 /var/www/public/cms/wp-admin/plugins.php(10): require_once('/var/www/public...') #10 {main} thrown in /var/www/public/content/plugins/alidswoo/includes/adsw/adsCurrency.php on line 0

Because the files are encrypted, I can't debug this by myself to see what's happening.

If a staff member could please let me know what I should do to fix this problem, that would be great because I'd rather not do a chargeback to get a refund if the plugin doesn't work.

Thank you
Hello, please contact our support regarding this issue. It seems that you incorrectly installed ionCube loader.

https://alidropship.com/contact/
 
Last edited:

duckgoesoink

New Member
Hi,

The ionCube loader was correctly installed but there was another environment error being thrown behind the scenes every time AliDropship tried to activate (but no useful error messages). Other plugins were activating without problem... Reinstalling my server dependencies seems to have fixed it though.
 

duckgoesoink

New Member
I found the sentence in documentation that says the plugin won't work in a local environment, so that's a bit disappointing from a workflow point of view (developers usually always work locally, then deploy to a staging environment, then to production). I'll have my license reset and develop my site locally with dummy data. :confused:

Has the AliDropship team planned on implementing a form for users to reset their license without having to PM staff? WPML is a good example of a premium plugin that lets us do this ourselves...
 
Top