PHP Warnings: array_filter() and array_unshift()
-
Hi,
I am seeing the following records in the PHP log of my WooCommerce store. Could you please advise how to avoid these?
PHP Warning: array_filter() expects parameter 1 to be array, null given in /wp-content/plugins/jetpack/modules/plugin-search.php on line 409 PHP Warning: array_unshift() expects parameter 1 to be array, null given in /wp-content/plugins/jetpack/modules/plugin-search.php on line 410
Here’s the debug information, if needed.
` ### wp-core ### version: 6.2.1 site_language: en_US user_language: en_US timezone: Asia/Kolkata permalink: /%postname%/ https_status: true multisite: false user_registration: 1 blog_public: 1 default_comment_status: closed environment_type: production user_count: 343 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /public wordpress_size: 4.76 GB (5116288158 bytes) uploads_path: /public/wp-content/uploads uploads_size: 134.75 MB (141292411 bytes) themes_path: /public/wp-content/themes themes_size: 19.93 MB (20901616 bytes) plugins_path: /public/wp-content/plugins plugins_size: 210.48 MB (220700544 bytes) database_size: 42.40 MB (44459313 bytes) total_size: 5.16 GB (5543642042 bytes) ### wp-dropins (2) ### db-error.php: true maintenance.php: true ### wp-active-theme ### name: Astra (astra) version: 4.1.5 author: Brainstorm Force author_website: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme parent_theme: none theme_features: core-block-patterns, post-thumbnails, astra_hooks, widgets-block-editor, align-wide, automatic-feed-links, title-tag, starter-content, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, rank-math-breadcrumbs, amp, infinite-scroll, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets, menus theme_path: /public/wp-content/themes/astra auto_update: Enabled ### wp-themes-inactive (1) ### Twenty Twenty-Three: version: 1.1, author: the WordPress team, Auto-updates enabled ### wp-mu-plugins (1) ### BPS Pro MU Tools: version: 17.0, author: AITpro ### wp-plugins-active (23) ### Advanced Access Manager: version: 6.9.10, author: Vasyl Martyniuk <[email protected]>, Auto-updates enabled Astra Pro: version: 4.1.5, author: Brainstorm Force, Auto-updates enabled BulletProof Security Pro: version: 17.2, author: AITpro, Auto-updates enabled Code Snippets: version: 3.3.0, author: Code Snippets Pro, Auto-updates enabled Custom Banners: version: 3.3, author: Gold Plugins, Auto-updates enabled Customer Reviews for WooCommerce: version: 5.26.1, author: CusRev, Auto-updates enabled Elementor: version: 3.13.2, author: Elementor.com, Auto-updates enabled Elementor Header & Footer Builder: version: 1.6.14, author: Brainstorm Force, Nikhil Chavan, Auto-updates enabled FiboSearch - AJAX Search for WooCommerce: version: 1.23.0, author: FiboSearch Team, Auto-updates enabled FooBar WordPress Notifications: version: 2.1.27, author: FooPlugins, Auto-updates enabled Jetpack: version: 12.1, author: Automattic, Auto-updates enabled Joinchat: version: 4.5.20, author: Creame, Auto-updates enabled Login by Auth0: version: 4.5.0, author: Auth0, Auto-updates enabled Mailchimp for WooCommerce: version: 2.8.3, author: Mailchimp, Auto-updates enabled Razorpay for WooCommerce: version: 4.5.1, author: Team Razorpay, Auto-updates enabled Shiprocket: version: 2.0.1, author: Shiprocket, Auto-updates enabled The SEO Framework: version: 4.2.8, author: The SEO Framework Team, Auto-updates enabled WooCommerce: version: 7.7.0, author: Automattic, Auto-updates enabled Woocommerce Add to cart Ajax for variable products: version: 2.2, author: Rishi Mehta - Rcreators Websolutions, Auto-updates enabled WP-Optimize - Clean, Compress, Cache: version: 3.2.15, author: David Anderson, Ruhani Rabin, Team Updraft, Auto-updates enabled WP Offload SES Lite: version: 1.6.4, author: Delicious Brains, Auto-updates enabled WPvivid Backup Plugin: version: 0.9.86, author: WPvivid Team, Auto-updates enabled WPvivid Plugins Pro: version: 2.2.15, author: wpvivid.com, Auto-updates disabled ### code-snippets (13) ### snippet-01: name: Disable WP Login Form, scope: global, modified: 2023-03-05 03:47:04 snippet-02: name: Disable XMLRPC (Except for Jetpack), scope: global, modified: 1999-01-01 00:00:00 snippet-03: name: Disable Image Thumbnails, scope: global, modified: 1999-01-01 00:00:00 snippet-04: name: Disable Large Image Support in WordPress Version 5.3, scope: admin, modified: 1999-01-01 00:00:00 snippet-05: name: Disable REST API, scope: front-end, modified: 2022-04-10 07:44:38 snippet-06: name: WooCommerce Disable Related Products, scope: front-end, modified: 2023-05-19 11:47:15 snippet-07: name: WooCommerce Auth0 Integration, scope: global, modified: 2022-05-26 07:08:41 snippet-08: name: WooCommerce EmailID in New Account Notification, scope: global, modified: 2020-10-09 14:11:57 snippet-09: name: WooCommerce Phone Field Customization, scope: front-end, modified: 2023-05-19 13:12:04 snippet-10: name: Transaction Email and Name, scope: global, modified: 2021-01-09 06:55:06 snippet-11: name: GA Tracking Code, scope: front-end, modified: 2020-11-05 06:45:52, tags: [javascript] snippet-12: name: Mailchimp JavaScript Snippet, scope: front-end, modified: 2020-10-24 13:01:30, tags: [javascript] snippet-13: name: Site Custom CSS, scope: front-end, modified: 2023-05-19 11:48:44, tags: [css] ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 1024M upload_max_filesize: 512M max_effective_size: 512 MB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP ghostscript_version: not available ### wp-server ### server_architecture: Linux 5.4.0-148-generic x86_64 httpd_software: Apache/2.4.57 (Unix) OpenSSL/1.1.1f php_version: 7.4.33 64bit php_sapi: fpm-fcgi max_input_variables: 5000 time_limit: 120 memory_limit: 256M max_input_time: -1 upload_max_filesize: 512M php_post_max_size: 1024M curl_version: 7.68.0 OpenSSL/1.1.1f suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 8.0.33-0ubuntu0.20.04.2 client_version: mysqlnd 7.4.33 max_allowed_packet: 67108864 max_connections: 151 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /public/wp-content WP_PLUGIN_DIR: /public/wp-content/plugins WP_MEMORY_LIMIT: 256M 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_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable ### jetpack ### site_id: {masked} ssl_cert: No time_diff: undefined version_option: 12.1:1683053400 old_version: 12.0:1680677334 public: Public master_user: {masked} current_user: {masked} tokens_set: Blog User blog_token: {masked} user_token: {masked} version: 12.1 jp_plugin_dir: /public/wp-content/plugins/jetpack/ plan: free protect_header: {"trusted_header":"HTTP_X_FORWARDED_FOR","segments":0,"reverse":false} full_sync: {"started":"Fri, 19 May 2023 13:21:15 +0000","finished":"Fri, 19 May 2023 13:21:20 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"3"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[3],"network_options":true}} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/www.domain.com","siteurl":"https:\/\/www.domain.com","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass. `
Kind regards,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Warnings: array_filter() and array_unshift()’ is closed to new replies.