Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP fatal error on 1.5.1 pro / 1.7.1 #51

Closed
opicron opened this issue Dec 17, 2024 · 3 comments
Closed

PHP fatal error on 1.5.1 pro / 1.7.1 #51

opicron opened this issue Dec 17, 2024 · 3 comments

Comments

@opicron
Copy link

opicron commented Dec 17, 2024

I noticed an PHP fatal error when running WP CLI on command line. This happens both on 1.7.1 and 1.5.1 pro.

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function IdeoLogix\DigitalLicenseManager\Abstracts\AbstractTool::__construct(), 0 passed in /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-content/plugins/digital-license-manager-pro/vendor/gdarko/digital-license-manager/includes/Integrations/WooCommerce/Controller.php on line 280 and exactly 1 expected in /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-content/plugins/digital-license-manager-pro/vendor/gdarko/digital-license-manager/includes/Abstracts/AbstractTool.php:58 Stack trace: #0 /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-content/plugins/digital-license-manager-pro/vendor/gdarko/digital-license-manager/includes/Integrations/WooCommerce/Controller.php(280): IdeoLogix\DigitalLicenseManager\Abstracts\AbstractTool->__construct() #1 /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-includes/class-wp-hook.php(324): IdeoLogix\DigitalLicenseManager\Integrations\WooCommerce\Controller->registerCommands() #2 /home/991455.c in /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-content/plugins/digital-license-manager-pro/vendor/gdarko/digital-license-manager/includes/Abstracts/AbstractTool.php on line 58 Fatal error: Uncaught ArgumentCountError: Too few arguments to function IdeoLogix\DigitalLicenseManager\Abstracts\AbstractTool::__construct(), 0 passed in /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-content/plugins/digital-license-manager-pro/vendor/gdarko/digital-license-manager/includes/Integrations/WooCommerce/Controller.php on line 280 and exactly 1 expected in /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-content/plugins/digital-license-manager-pro/vendor/gdarko/digital-license-manager/includes/Abstracts/AbstractTool.php:58 Stack trace: #0 /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-content/plugins/digital-license-manager-pro/vendor/gdarko/digital-license-manager/includes/Integrations/WooCommerce/Controller.php(280): IdeoLogix\DigitalLicenseManager\Abstracts\AbstractTool->__construct() #1 /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-includes/class-wp-hook.php(324): IdeoLogix\DigitalLicenseManager\Integrations\WooCommerce\Controller->registerCommands() #2 /home/991455.c in /home/991455.cloudwaysapps.com/juseyhuctm/public_html/wp-content/plugins/digital-license-manager-pro/vendor/gdarko/digital-license-manager/includes/Abstracts/AbstractTool.php on line 58

@opicron opicron changed the title Pro version: PHP fatal error on 1.5.1 Pro version: PHP fatal error on 1.5.1 pro / 1.7.1 Dec 17, 2024
@opicron opicron changed the title Pro version: PHP fatal error on 1.5.1 pro / 1.7.1 PHP fatal error on 1.5.1 pro / 1.7.1 Dec 17, 2024
@opicron
Copy link
Author

opicron commented Jan 2, 2025

@gdarko Happy Newyear! Any chance you could take a look at this?

@opicron
Copy link
Author

opicron commented Jan 2, 2025

For others who have this issue, I created an wp-cli.yml file with:

skip-plugins:
  - digital-license-manager-pro

Which prevents the plugin from loading so my cli scripts continue to run.

@opicron
Copy link
Author

opicron commented Jan 3, 2025

Thank you for your quick response. I confirm the issue is fixed with the latest release.

@opicron opicron closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant