WPIntell

Source evidence

wp-cli fatal error

Convesio Convert – WooCommerce Email Marketing Automation with Website Personalization, Popups and Forms · support · 2021-02-19T12:09:00+00:00

mixedsentiment
highseverity
0.94relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 25 rows with source links

24.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Pacotole resolved
Plugin produces a fatal error with wp-cli: Fatal error: Uncaught Error: Class 'Growmatik\Rewrite_Rules_Manager' not found in /srv/www/example_com/current/web/app/plugins/marketing-automation-and-personalization/growmatik.php:24 Stack trace: #0 /srv/www/example_com/current/web/wp/wp-settings.php(388): include_once() #1 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): require('/srv/www/joinch...') #2 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1158): WP_CLI\Runner->load_wordpress() #3 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start() #4 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(74): WP_CLI\Bootstrap\LaunchRunner->process() #5 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap() #6 phar:///usr/bin/wp/php/boot-phar.php(11): include('phar:///usr/bin...') #7 /usr/bin/wp(4): include('phar:///usr/bin...') #8 {main} thrown in /srv/www/example_com/current/web/app/plugins/marketing-automation-and-personalization/growmatik.php on line 24 Hi @pacotole ; thanks for reaching out. We were not able to reproduce the issue; Can you verify if uninstalling and re-installing the Growmatik plugin fixes it? Otherwise please provide us with details to reproduce the error, including the exact wp-cli command that causes the error, and the version numbers for wp-cli ( wp --version ), Growmatik plugin and WordPress. Hi! I found a solution adding __DIR__ to autoload require_once: require_once __DIR__ . '/vendor/autoload.php'; It could be that relative ‘vendor/autoload.php’ it’s already loaded by other plugin and it’s skipped 🤔 For more info: Reinstall not solve the problem and our wp version is WP-CLI 2.4.0 . Our WordPress installation is via Composer based on stack Trellis + Bedrock. The problem is in almost all the wp-cli commands. Thanks for the information. Based on your feedback we fixed this issue (and more) in our latest release, so you should no longer need the mentioned modification when you update. Please feel free to contact us if any other questions arise. Have a good day.

Comments

3 shown
artbees 2021-02-19T18:34:00+00:00

Hi @pacotole ; thanks for reaching out. We were not able to reproduce the issue; Can you verify if uninstalling and re-installing the Growmatik plugin fixes it? Otherwise please provide us with details to reproduce the error, including the exact wp-cli command that causes the error, and the version numbers for wp-cli ( wp --version ), Growmatik plugin and WordPress.

Pacotole 2021-02-26T09:03:00+00:00

Hi! I found a solution adding __DIR__ to autoload require_once: require_once __DIR__ . '/vendor/autoload.php'; It could be that relative ‘vendor/autoload.php’ it’s already loaded by other plugin and it’s skipped 🤔 For more info: Reinstall not solve the problem and our wp version is WP-CLI 2.4.0 . Our WordPress installation is via Composer based on stack Trellis + Bedrock. The problem is in almost all the wp-cli commands.

artbees 2021-03-23T11:57:00+00:00

Thanks for the information. Based on your feedback we fixed this issue (and more) in our latest release, so you should no longer need the mentioned modification when you update. Please feel free to contact us if any other questions arise. Have a good day.