PHP Fatal error: Uncaught TypeError: array_diff(): Argument #1 ($array) must be of type array, bool given in …./public_html/wp-content/plugins/woocommerce-checkout-field-editor-pro/admin/class-thwcfe-admin-utils.php:474 Stack trace:….
if(isset($keys)){
$keys = array_diff($keys, $custom_field_keys);
$keys = array_merge($custom_field_keys, $keys);
}
Problem solved replacing with this:
if(isset($keys) && is_array($keys)){
$keys = array_diff($keys, $custom_field_keys);
$keys = array_merge($custom_field_keys, $keys);
} else {
$keys = $custom_field_keys;
}
Why is this happening? Is this php 8.1compatility error?
]]>I am seeing a lot if PHP issues relate dto some Jetpack recourse. But I havent installed Jetpack. Can you please let me know if this is normal or how I can stop/remove all Jetpack related functions?
Many thanks.
Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 102 der Datei /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce-payments/vendor/jetpack-autoloader/class-php-autoloader.php?verursacht. Fehlermeldung: Uncaught Error: Failed opening required '/home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce-payments/vendor/jetpack-autoloader/class-php-autoloader.php:102
Stack trace:
#0 [internal function]: Automattic\Jetpack\Autoloader\jp6265907401ba377e5857d8960a5ceb1e\al5_0_0\PHP_Autoloader::load_class('Automattic\\WooC...')
#1 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(101): class_exists('Automattic\\WooC...')
#2 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(167): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->get_core('Automattic\\WooC...', Array)
#3 [internal function]: Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->Automattic\WooCommerce\Internal\DependencyManagement\{closure}(Object(ReflectionParameter))
#4 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(155): array_map(Object(Closure), Array)
#5 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(116): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->instantiate_class_using_reflection('Automattic\\WooC...', Array)
#6 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(75): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->get_core('Automattic\\WooC...', Array)
#7 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/src/Container.php(118): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->get('Automattic\\WooC...')
#8 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/includes/class-woocommerce.php(339): Automattic\WooCommerce\Container->get('Automattic\\WooC...')
#9 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/includes/class-woocommerce.php(237): WooCommerce->init_hooks()
#10 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/includes/class-woocommerce.php(155): WooCommerce->__construct()
#11 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/woocommerce.php(47): WooCommerce::instance()
#12 /home/servername/public_html/domain02.ch/wp-content/plugins/woocommerce/woocommerce.php(62): WC()
#13 /home/servername/public_html/domain02.ch/wp-settings.php(526): include_once('/home/servername/...')
#14 /home/servername/public_html/domain02.ch/wp-config.php(103): require_once('/home/servername/...')
#15 /home/servername/public_html/domain02.ch/wp-load.php(50): require_once('/home/servername/...')
#16 /home/servername/public_html/domain02.ch/wp-admin/admin.php(34): require_once('/home/servername/...')
#17 {main}
?thrown
]]>I am experiencing a critical issue with your Cost Calculator plugin. When I try to access the “Calculators” section in the WordPress admin panel, the page fails to load properly, and I only see a loading spinner instead of the expected content.
After contacting my hosting provider, we identified a severe memory leak in the plugin. Here are the relevant details from the server logs:
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /wp-includes/class-wpdb.php on line 2316
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 106496 bytes) in /wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler.php on line 55
My hosting provider confirmed that even 1024MB of memory is not enough for the script, which suggests a serious memory leak.System Environment & Configuration:
All minimum requirements for the plugin are met, yet the issue persists. Could you please investigate this memory leak and provide a solution?
Let me know if you need any additional information.
Creation of dynamic property HT_CCW::$floating_style is deprecated
wp-content/plugins/click-to-chat-for-whatsapp/prev/inc/class-ht-ccw.php:163
We updated from 8.2.1 to 8.2.2 today and WPC Product Bundles is now throwing a fatal error:
An error of type E_ERROR was caused in line 107 of the file /public_html/wp-content/plugins/woo-product-bundle/includes/class-helper.php. Error message: Uncaught Error: Call to a member function is_type() on bool in /public_html/wp-content/plugins/woo-product-bundle/includes/class-helper.php:107
Rolling the plugin back to 8.2.1 has restored functionality. Site is running latest WP and WC on PHP 8.1
Thank you!
]]>However I now get critical PHP erros:
Backend fatal error: PHP Fatal error: Uncaught Error: The script tried to call a method on an incomplete object. Please ensure that the class definition "PYS_PRO_GLOBAL\\FacebookAds\\Object\\ServerSide\\Content" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/CustomData.php:443\nStack trace:\n#0 /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Event.php(354): PYS_PRO_GLOBAL\\FacebookAds\\Object\\ServerSide\\CustomData->normalize()\n#1 /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(343): PYS_PRO_GLOBAL\\FacebookAds\\Object\\ServerSide\\Event->normalize()\n#2 /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(282): PYS_PRO_GLOBAL\\FacebookAds\\Object\\ServerSide\\EventRequest->normalize()\n#3 /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(277): PYS_PRO_GLOBAL\\FacebookAds\\Object\\ServerSide\\EventRequest->defaultExecute()\n#4 /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php(247): PYS_PRO_GLOBAL\\FacebookAds\\Object\\ServerSide\\EventRequest->sendToCAPIEndpoint()\n#5 /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/modules/facebook/facebook-server.php(311): PYS_PRO_GLOBAL\\FacebookAds\\Object\\ServerSide\\EventRequest->execute()\n#6 /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/modules/facebook/facebook-server-async-task.php(48): PixelYourSite\\FacebookServer->sendEvent(Array, Object(PYS_PRO_GLOBAL\\FacebookAds\\Object\\ServerSide\\Event))\n#7 /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/vendor/techcrunch/wp-async-task/wp-async-task.php(164): PixelYourSite\\FacebookAsyncTask->run_action()\n#8 /var/www/mywebsite/public_html/wp-includes/class-wp-hook.php(324): WP_Async_Task->handle_postback('')\n#9 /var/www/mywebsite/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)\n#10 /var/www/mywebsite/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#11 /var/www/mywebsite/public_html/wp-admin/admin-post.php(85): do_action('admin_post_wp_a...')\n#12 {main}\n thrown in /var/www/mywebsite/public_html/wp-content/plugins/pixelyoursite-pro/vendor_prefix/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/CustomData.php on line 443\n
Can you help me debug this or fix the error?
Best, Jonatan
]]>independent-analytics/vendor/matomo/device-detector/Parser/AbstractParser.php?(Line:?267)
[Message]:
Preg_match(): compilation failed: pcre2 does not support \f, \l, \l, \n{name}, \u, or \u at offset 82
I tried reinstalling, but it didn’t help.
]]>my debog.log shows many lines of the error:
PHP Deprecated: Function utf8_decode() is deprecated in /wp-content/languages/de_DE.php on line 93
I’m using PHP 8.2, and as far as i know utf8_encode is deprecated since PHP 8.2.0 (launched December 2022) and will be removed in PHP 9.
Has anyone a solution?
]]>Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the product-configurator-for-woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. (This message was added in version 6.7.0.)
The issue may be occuring because the load_plugin_textdomain
function is being called too early, before the plugin is fully loaded.
I recommend using the init
hook instead of the plugins_loaded
hook for loading text domains. This aligns with WordPress 6.7 requirements, which specify that text domains should only be loaded on init
or later. Kindly advise if there is a workaround until an update?
I am receiving the same error for the Plugin: Product configurator for WooCommerce addon – Conditional logic
]]>wp-content/plugins/thim-elementor-kit/inc/modules/mega-menu/class-init.php on line 56
wp-content/plugins/thim-elementor-kit/inc/class-settings.php on line 215