Unknown: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /home1/dddd/public_html/br/catalog/controller/extension/feed/google_base.php on line
see url below
https://www.saleples.com/br/index.php?r ... oogle_base
Code: Select all
$output .= '<g:brand><![CDATA[' . html_entity_decode((string)$product['manufacturer'], ENT_QUOTES, 'UTF-8') . ']]></g:brand>';
The error is caused by missing manufacturers in your products.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Online 39 you have like this
Code: Select all
$output .= '<g:brand><![CDATA[' . html_entity_decode($product['manufacturer'], ENT_QUOTES, 'UTF-8') . ']]></g:brand>';
Code: Select all
$output .= '<g:brand><![CDATA[' . html_entity_decode($product['manufacturer'] ?? '', ENT_QUOTES, 'UTF-8') . ']]></g:brand>';
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
https://www.saleples.com/br/index.php?r ... oogle_base
Got a burning question at 3 AM that even Google shrugs at? There’s a not-so-secret inbox that might just have your answer: khnaz35@gmail.com
Breathe in some nature while you're at it. It’s cheaper than therapy.
Feel free to sling a bear my way via PayPal @ khnaz35@gmail.com
1. You should not have error logging on a live site - it is a security risk.sidclel wrote: ↑Sun Aug 10, 2025 1:06 amAnother mistake is if you delete the dollar currency it gets full of errors
https://www.saleples.com/br/index.php?r ... oogle_base
2. It is only a warning - it is due to php 8 upgrades.
3. The error is because USD is not defined. If you have deleted it - it is not defined.
Search google for
a. php8 Undefined array key
b. php8 Trying to access array offset on value of type null
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Users browsing this forum: No registered users and 20 guests