PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback,
-
Hello,
I get the following error/warning;
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Storefront' does not have a method 'child_scripts' in /public_html/wp-includes/class-wp-hook.php on line 286The product filtering by capacity doesn’t work for this category for some reason. The same site and files are on 3 other servers and it works fine, the site is on Cloudways and the filtering by capacity on the page in question does not work. I’m at loss in how I can resolve this problem.
Site info below;
### wp-core ### version: 5.2.2 site_language: en_GB user_language: en_GB permalink: /blog/%postname%/ https_status: true user_registration: 0 default_comment_status: closed multisite: false user_count: 6 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /public_html wordpress_size: 181.90 MB (190736190 bytes) uploads_path: /public_html/wp-content/uploads uploads_size: 2.23 GB (2392727395 bytes) themes_path: /public_html/wp-content/themes themes_size: 14.93 MB (15651266 bytes) plugins_path: /public_html/wp-content/plugins plugins_size: 151.81 MB (159187740 bytes) database_size: 43.21 MB (45311208 bytes) total_size: 2.61 GB (2803613799 bytes) ### wp-active-theme ### name: storefront-child version: 2.2.4 author: WooThemes author_website: https://woocommerce.com/ parent_theme: Storefront theme_features: post-thumbnails, automatic-feed-links, custom-logo, menus, html5, custom-background, site-logo, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, title-tag, customize-selective-refresh-widgets, custom-header, starter-content, widgets theme_path: /public_html/wp-content/themes/storefront ### wp-themes (1) ### Storefront: version: 2.2.4, author: WooThemes (latest version: 2.5.0) ### wp-plugins-active (21) ### Advanced Custom Fields: version: 5.8.1, author: Elliot Condon Advanced Custom Fields PRO: version: 5.8.1, author: Elliot Condon Categories Images: version: 2.5.4, author: Muhammad Said El Zahlan Disable Gutenberg: version: 1.8.1, author: Jeff Starr Filename-based asset cache busting: version: 1.3, author: Ben Lumley Google Tag Manager for WordPress: version: 1.9.2, author: Thomas Geiger JivoChat: version: 1.3.3, author: JivoChat Mailchimp for WordPress: version: 4.5.2, author: ibericode Ninja Forms: version: 3.4.16, author: The WP Ninjas Premmerce Permalink Manager for WooCommerce: version: 2.1.9, author: premmerce (latest version: 2.1.11) Redirection: version: 4.3.1, author: John Godley Regenerate Thumbnails: version: 3.1.1, author: Alex Mills (Viper007Bond) Simple Custom Post Order: version: 2.4.4, author: Colorlib SVG Support: version: 2.3.15, author: Benbodhi TAO Schedule Update: version: 1.15, author: TAO Digital Tweetlab: version: 2.0.2, author: MaGeek Lab WooCommerce: version: 3.6.4, author: Automattic WordPress Importer: version: 0.6.4, author: wordpressdotorg WP Media Category Management: version: 1.9.4, author: DeBAAT <wp-mcm@de-baat.nl> YITH WooCommerce Catalog Mode: version: 1.6.9, author: YITH Yoast SEO: version: 11.4, author: Team Yoast (latest version: 11.5) ### wp-plugins-inactive (8) ### Akismet Anti-Spam: version: 4.1.2, author: Automattic Autoptimize: version: 2.5.1, author: Frank Goossens (futtta) Category and Taxonomy Meta Fields: version: 1.0.0, author: Aftab Husain Lazy Loader: version: 4.1.0, author: Florian Brinkmann, MarcDK Smush: version: 3.2.1, author: WPMU DEV W3 Total Cache: version: 0.9.7.5, author: Frederick Townes WooCommerce Admin: version: 0.14.0, author: WooCommerce Wordfence Security: version: 7.3.4, author: Wordfence ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1673 imagemagick_version: ImageMagick 6.8.9-9 Q16 x86_64 2019-05-13 http://www.imagemagick.org imagick_limits: imagick::RESOURCETYPE_AREA: 4 GB imagick::RESOURCETYPE_DISK: -1 imagick::RESOURCETYPE_FILE: 768 imagick::RESOURCETYPE_MAP: 4 GB imagick::RESOURCETYPE_MEMORY: 2 GB imagick::RESOURCETYPE_THREAD: 1 gd_version: 2.2.5 ghostscript_version: 9.26 ### wp-server ### server_architecture: Linux 3.16.0-7-amd64 x86_64 httpd_software: Apache/2.4.10 (Debian) php_version: 7.2.14-1+0~20190113100657.14+jessie~1.gbpd83c69 64bit php_sapi: fpm-fcgi max_input_variables: 2500 time_limit: 60 memory_limit: 256M max_input_time: 60 upload_max_size: 10M php_post_max_size: 10M curl_version: 7.38.0 OpenSSL/1.0.1t suhosin: false imagick_availability: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.5.62-0+deb8u1 client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $ ### wp-constants ### WP_HOME: https://www.tuffa.co.uk WP_SITEURL: https://www.tuffa.co.uk WP_CONTENT_DIR: /public_html/wp-content WP_PLUGIN_DIR: /public_html/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writableThe page I need help with: [log in to see the link]
The topic ‘PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback,’ is closed to new replies.
