Closed imath closed 3 years ago
It's happening on at least two different client sites on different servers. Both use the Kleo theme.
We started seeing it on Feb. 16th.
Interesting! Will be taking a look as soon as possible.
Hi @renatonascalves / @imath
I am also facing this issue on one of the sites. The error message logs a daily basis at a fixed time (3 AM UTC in my case). Could you please suggest if that is the part of any scheduler which runs daily?
[01-Mar-2021 03:01:38 UTC] PHP Fatal error: Class 'Scaffold_Command' not found in /wp-content/plugins/buddypress/cli/src/scaffold.php on line 19
[01-Mar-2021 03:01:42 UTC] PHP Fatal error: Class 'Scaffold_Command' not found in /wp-content/plugins/buddypress/cli/src/scaffold.php on line 19
The BP CLI doesn't add any scheduler. It is likely another scheduler trying to run and catching this error.
Hi @renatonascalves
How do we fix class not found error for Scaffold_Command? Did you resolve that already?
It is on my to do list! :)
Curious @renatonascalves would this error at all mess up permalinks in Wordpress? One of the sites started having periodic permalink errors causing 404s around the same time we upgraded to the latest Buddypress. However other sites ( that also have this error ) are not having this issue.
Curious @renatonascalves would this error at all mess up permalinks in Wordpress? One of the sites started having periodic permalink errors causing 404s around the same time we upgraded to the latest Buddypress. However other sites ( that also have this error ) are not having this issue.
Yes, we are also facing the same issue related to permalink errors which leads to 404 pages.
^ This is a fix for this issue!
There are scenarios that I didn't anticipate where the Scaffold package is not installed. Since we rely on a class from it for our custom scaffold command, you guys are getting that error when it is not available.
Based on the feedback gathered so far, it appears that when any command is being run, one gets the Class Scaffold_Command not found in
. And that's consistent in my view since those files are only loaded in the WP CLI context.
Hello gent's,
What is the fix in this case? Below is my log if it helps in any way:
[22-Mar-2021 06:31:36 UTC] PHP Fatal error: Uncaught Error: Class 'Scaffold_Command' not found in /wp-content/plugins/buddypress/cli/src/scaffold.php:19 Stack trace:
[22-Mar-2021 06:31:38 UTC] PHP Fatal error: Uncaught Error: Class 'Scaffold_Command' not found in /wp-content/plugins/buddypress/cli/src/scaffold.php:19 Stack trace:
Right now, wait for the patch to be bundled with the next version of BuddyPress or install it directly (if you like to live dangeously): https://github.com/buddypress/wp-cli-buddypress#installing
When will it be available (the patch to be bundled with the next version of BuddyPress) @renatonascalves Please?
Based on the schedule: https://bpdevel.wordpress.com/2021/04/05/bp-dev-chat-summary-march-31-2021/
@renatonascalves could you update the BuddyPress Gruntfile.js to use the 2.0.1 tag from now on both trunk and 7.0 branch? I believe we should make this fix available earlier than in 8.0.0, eg: in our next minor release https://buddypress.trac.wordpress.org/milestone/7.3.0
Thanks in advance 😍
Hi @renatonascalves could you have a look to this https://buddypress.org/support/topic/buddypress-7-2-0/#post-317390 ?
Thanks 😊