PHP Fatal error: Uncaught TypeError: Unsupported operand types: string
-
Hi,
I am using the cronjobs from my hosting/serverside. As i just got an alert with a fatal error.
I changed a view thing on the productfeed, to see if i can get something done. After it seem to broke it.
Heres the error log
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * string in /home/theadultshop/domains/theadultshop.nl/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php:5856
Stack trace:
#0 /home/theadultshop/domains/theadultshop.nl/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(4807): WooSEA_Get_Products->woocommerce_sea_rules()
#1 /home/theadultshop/domains/theadultshop.nl/public_html/wp-content/plugins/woo-product-feed-pro/bootstrap-old.php(4571): WooSEA_Get_Products->woosea_get_products()
#2 /home/theadultshop/domains/theadultshop.nl/public_html/wp-content/plugins/woo-product-feed-pro/bootstrap-old.php(4459): woosea_continue_batch()
#3 /home/theadultshop/domains/theadultshop.nl/public_html/wp-includes/class-wp-hook.php(324): woosea_create_all_feeds()
#4 /home/theadultshop/domains/theadultshop.nl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /home/theadultshop/domains/theadultshop.nl/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#6 /home/theadultshop/domains/theadultshop.nl/public_html/wp-cron.php(191): do_action_ref_array()
#7 {main}
thrown in /home/theadultshop/domains/theadultshop.nl/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 5856
<!DOCTYPE html>
<html lang="nl-NL">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width">
<meta name='robots' content='noindex, follow' />
<title>WordPress › fout</title>
<style type="text/css">
html {
background: #f1f1f1;
}
body {
background: #fff;
border: 1px solid #ccd0d4;
color: #444;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
margin: 2em auto;
padding: 1em 2em;
max-width: 700px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}
h1 {
border-bottom: 1px solid #dadada;
clear: both;
color: #666;
font-size: 24px;
margin: 30px 0 0 0;
padding: 0;
padding-bottom: 7px;
}
#error-page {
margin-top: 50px;
}
#error-page p,
#error-page .wp-die-message {
font-size: 14px;
line-height: 1.5;
margin: 25px 0 20px;
}
#error-page code {
font-family: Consolas, Monaco, monospace;
}
ul li {
margin-bottom: 10px;
font-size: 14px ;
}
a {
color: #2271b1;
}
a:hover,
a:active {
color: #135e96;
}
a:focus {
color: #043959;
box-shadow: 0 0 0 2px #2271b1;
outline: 2px solid transparent;
}
.button {
background: #f3f5f6;
border: 1px solid #016087;
color: #016087;
display: inline-block;
text-decoration: none;
font-size: 13px;
line-height: 2;
height: 28px;
margin: 0;
padding: 0 10px 1px;
cursor: pointer;
-webkit-border-radius: 3px;
-webkit-appearance: none;
border-radius: 3px;
white-space: nowrap;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
vertical-align: top;
}
.button.button-large {
line-height: 2.30769231;
min-height: 32px;
padding: 0 12px;
}
.button:hover,
.button:focus {
background: #f1f1f1;
}
.button:focus {
background: #f3f5f6;
border-color: #007cba;
-webkit-box-shadow: 0 0 0 1px #007cba;
box-shadow: 0 0 0 1px #007cba;
color: #016087;
outline: 2px solid transparent;
outline-offset: 0;
}
.button:active {
background: #f3f5f6;
border-color: #7e8993;
-webkit-box-shadow: none;
box-shadow: none;
}
</style>
</head>
<body id="error-page">
<div class="wp-die-message"><p>Er heeft zich een kritieke fout voorgedaan op deze site.</p><p><a href="https://www.ads-software.com/documentation/article/faq-troubleshooting/">Meer informatie over probleemoplossing in WordPress.</a></p></div></body>
</html>Version numbers
[PHP] => 8.2 [Wordpress] => 6.5.5 [WooCommerce] => 9.0.2 [WooCommerce Product Feed PRO] => 13.3.4
As second. The prices in the webshop are added including VAT (so is set in WooCommerce settings) but the productfeed seems not to be able to calculate the right excluding VAT price for the feed.
Let me know! Thank you in advance
– Chartnet
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.