You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installed 3.0.4 manual-install.zip: wp-cli crashed: Callable "S3_Uploads\\WP_CLI_Command" does not exist, and cannot be registered as wp s3-uploads.
#585
I installed the v 3.0.4 manual-install.zip to upgrade from an old 2.0.0 release.
The plugin activate and runs ok but the wp-cli crashes with the following error:
Callable "S3_Uploads\WP_CLI_Command" does not exist, and cannot be registered as wp s3-uploads.
We are unable to run any wp-cli command, even the 'wp' itself. We always gat Callable "S3_Uploads\WP_CLI_Command" does not exist, and cannot be registered as wp s3-uploads.
Looking into other similar issues still open (see #573 , #528 , #530) and to PR #519 I solved editing /inc/namespace.php
moved the line require_once dirname( __DIR__ ) . '/vendor/autoload.php'; just below the require_once dirname( __DIR__ ) . '/vendor/autoload.php';
since is autoload.php that includes the wp-cli commands, we need to inlude it anyway, even if the S3 class is already loaded by others plugin.
But I'm not sure that this is teh right way to resolve.
Please take a look at PR #519 and if it's ok accept it and merge
Thank you
The text was updated successfully, but these errors were encountered:
I installed the v 3.0.4 manual-install.zip to upgrade from an old 2.0.0 release.
The plugin activate and runs ok but the wp-cli crashes with the following error:
Callable "S3_Uploads\WP_CLI_Command" does not exist, and cannot be registered as
wp s3-uploads
.We are unable to run any wp-cli command, even the 'wp' itself. We always gat Callable "S3_Uploads\WP_CLI_Command" does not exist, and cannot be registered as
wp s3-uploads
.Looking into other similar issues still open (see #573 , #528 , #530) and to PR #519 I solved editing /inc/namespace.php
moved the line
require_once dirname( __DIR__ ) . '/vendor/autoload.php';
just below therequire_once dirname( __DIR__ ) . '/vendor/autoload.php';
since is autoload.php that includes the wp-cli commands, we need to inlude it anyway, even if the S3 class is already loaded by others plugin.
But I'm not sure that this is teh right way to resolve.
Please take a look at PR #519 and if it's ok accept it and merge
Thank you
The text was updated successfully, but these errors were encountered: