2.4.0 breaks when updating using wp-cli
-
Hi, folks! After updating to 2.4.0 today, using wp-cli, it looks like the REST changes are breaking things. Would you please have a look? Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class Perfect_Woocommerce_Brands\PWB_API_Support does not have a method "get_public_batch_schema" in /var/www/html/wp-includes/rest-api/class-wp-rest-server.php:1487 Stack trace: 0 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1428): WP_REST_Server->get_data_for_route('/wc/v1/brands/b…', Array, 'help') 1 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1255): WP_REST_Server->get_data_for_routes(Array, 'help') 2 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1171): WP_REST_Server->get_index(Object(WP_REST_Request)) 3 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1018): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/', Array, NULL) 4 /var/www/html/wp-content/plugins/woocommerce/includes/cli/class-wc-cli-runner.php(63): WP_REST_Server->dispatch(Object(WP_REST_Request)) 5 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php(336): WC_CLI_Runner::after_wp_load() 6 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1362): WP_CLI::do_hook('after_wp_load') 7 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1254): WP_CLI\Runner->load_wordpress() 8 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start() 9 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState)) 10 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap() 11 phar:///usr/bin/wp/php/boot-phar.php(11): include('phar:///usr/bin…') 12 /usr/bin/wp(4): include('phar:///usr/bin…') 13 {main} thrown in /var/www/html/wp-includes/rest-api/class-wp-rest-server.php on line 1487 WordPress Version 6.1.1 Site Language en_US User Language en_US Timezone America/Toronto Home URL https://www.loyaltyforge.com Site URL https://www.loyaltyforge.com Permalink structure /%postname%/ Is this site using HTTPS? Yes Is this a multisite? No Can anyone register on this site? No Is this site discouraging search engines? No Default comment status Closed Environment type production User count 3 Communication with www.remarpro.com www.remarpro.com is reachable Active Theme Name Page Builder Framework (page-builder-framework) Version 2.10.2 Author David Vongries Author website https://mapsteps.com Parent theme None Theme features core-block-patterns, block-templates, widgets-block-editor, post-thumbnails, custom-logo, custom-background, title-tag, automatic-feed-links, html5, customize-selective-refresh-widgets, menus, editor-styles, align-wide, header-footer-elementor, woocommerce, wc-product-gallery-zoom, wc-product-gallery-slider, wc-product-gallery-lightbox, widgets Theme directory location /var/www/html/wp-content/themes/page-builder-framework Auto-updates Disabled Active Plugins (25) Autoptimize Version 3.1.4 by Frank Goossens (futtta) | Auto-updates disabled Beaver Builder Plugin (Standard Version) Version 2.6.1.4 by The Beaver Builder Team | Auto-updates disabled Code Snippets Version 3.2.2 by Code Snippets Pro | Auto-updates disabled Discount and regular price cart and checkout page display WooCommerce Version 1.3.5 by wpnetworkit | Auto-updates disabled Download Monitor Version 4.7.70 by WPChill | Auto-updates disabled Favicon by RealFaviconGenerator Version 1.3.25 by Philippe Bernard | Auto-updates disabled Flexible Map Version 1.17.1 by WebAware | Auto-updates disabled Google Listings and Ads Version 2.3.3 by WooCommerce | Auto-updates disabled Helcim Commerce for WooCommerce Version 3.0.6 by Helcim Inc. | Auto-updates disabled Knowledge Base for Documents and FAQs Version 9.20.0 by Echo Plugins | Auto-updates disabled Login LockDown Version 1.83 by WebFactory Ltd | Auto-updates disabled Perfect Brands for WooCommerce Version 2.3.0 by QuadLayers (Latest version: 2.4.0) | Auto-updates disabled Product Feed PRO for WooCommerce Version 12.1.0 by AdTribes.io | Auto-updates disabled Quantity Plus Minus Button for WooCommerce by CodeAstrology Version 1.1.4 by CodeAstrology Team | Auto-updates disabled Scripts n Styles Version 3.5.2 by unFocus Projects | Auto-updates disabled SMTP Mailer Version 1.1.5 by naa986 | Auto-updates disabled Stop User Enumeration Version 1.4.5 by Fullworks | Auto-updates disabled WooCommerce Version 7.2.0 by Automattic | Auto-updates disabled Woo Custom Stock Status Version 1.3.5 by Softound Solutions | Auto-updates disabled WP-Matomo Integration Version 1.0.27 by André Br?kling | Auto-updates disabled WP24 Domain Check Version 1.10.4 by WP24 | Auto-updates disabled WP Add Mime Types Version 3.0.3 by Kimiya Kitani | Auto-updates disabled WP E-Signature Version 1.7.6 by ApproveMe.com | Auto-updates disabled WP E-Signature Business add-ons Version 1.7.6 by ApproveMe.com | Auto-updates disabled Yoast SEO Version 19.12 by Team Yoast | Auto-updates disabled Server The options shown below relate to your server setup. If changes are required, you may need your web host’s assistance. Server architecture Linux 5.10.0-19-amd64 x86_64 Web server nginx/1.23.2 PHP version 8.1.13 (Supports 64bit values) PHP SAPI fpm-fcgi PHP max input variables 1000 PHP time limit 300 PHP memory limit 128M Max input time -1 Upload max filesize 64M PHP post max size 64M cURL version 7.86.0 OpenSSL/3.0.7 Is SUHOSIN installed? No Is the Imagick library available? Yes Are pretty permalinks supported? Yes .htaccess rules Your .htaccess file contains only core WordPress features.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘2.4.0 breaks when updating using wp-cli’ is closed to new replies.