[Skip to main content](#vessel-content)

#   After Updates to 4.7

##

- **[affaf1952](/forum/user/51687-affaf1952 "View affaf1952's Profile")**
- [![affaf1952's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51687-affaf1952 "View affaf1952's Profile") Topic Author
- [ Offline](/forum/user/51687-affaf1952)

Less More

- Posts: 193
- Thank you received: 11
-
-

3 years 10 months ago [\#347696](#347696) by [affaf1952](/forum/user/51687-affaf1952 "View affaf1952's Profile")  *[After Updates to 4.7](/forum/3-bug-report/905570-after-updates-to-4-7#347696 "Hello, I just updated the website to the new version of Hikashop Business 4.7 , the owner of the restaurant hand me the new menu prices , as soon i updated the first product and saved that what happen please see below, thanks  Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/test5/test.com/libraries/vendor/joomla/registry/src/Format/Json.php on line 54  Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/responsivelightbox/responsivelightbox.php on line 22  Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/retinaimages/retinaimages.php on line 22  Please Advice, thanks")* was created by *[affaf1952](/forum/user/51687-affaf1952 "View affaf1952's Profile")*

Hello,
I just updated the website to the new version of Hikashop Business 4.7 , the owner of the restaurant hand me the new menu prices , as soon i updated the first product and saved that what happen please see below, thanks

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/test5/test.com/libraries/vendor/joomla/registry/src/Format/Json.php on line 54

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/responsivelightbox/responsivelightbox.php on line 22

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/retinaimages/retinaimages.php on line 22

Please Advice, thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDU1NzAtYWZ0ZXItdXBkYXRlcy10by00LTc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

3 years 10 months ago -  3 years 10 months ago [\#347699](#347699) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[After Updates to 4.7](/forum/3-bug-report/905570-after-updates-to-4-7#347699 "Hello, I just updated the website to the new version of Hikashop Business 4.7 , the owner of the restaurant hand me the new menu prices , as soon i updated the first product and saved that what happen please see below, thanks  Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/test5/test.com/libraries/vendor/joomla/registry/src/Format/Json.php on line 54  Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/responsivelightbox/responsivelightbox.php on line 22  Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/retinaimages/retinaimages.php on line 22  Please Advice, thanks")*

Hi,

The messages: Code:

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/responsivelightbox/responsivelightbox.php on line 22 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/retinaimages/retinaimages.php on line 22

come from the responsivelightbox and retinaimages content plugins you have installed on your website. These are not from us nor from Joomla. I suppose the version of them you're using is not fully compatible with PHP 8
You must have had these messages even before updating your HikaShop.

As for Code:

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/test5/test.com/libraries/vendor/joomla/registry/src/Format/Json.php on line 54

I can't say where this comes from.
It basically means that something is trying to use the JSON library of Joomla in a way it shouldn't on PHP 8.
So it could come from any plugin of the groups system, hikashop, content, etc.

Note however that these deprecated messages are not real errors. They are there so that developers can change their code as it won't work properly in future versions of php. On a live website, you should have the "error reporting" setting of the Joomla configuration configured in a way that doesn't display them. Not only because they are not real errors, but also for security reasons.

Last edit: 3 years 10 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDU1NzAtYWZ0ZXItdXBkYXRlcy10by00LTc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[affaf1952](/forum/user/51687-affaf1952 "View affaf1952's Profile")**
- [![affaf1952's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51687-affaf1952 "View affaf1952's Profile") Topic Author
- [ Offline](/forum/user/51687-affaf1952)

Less More

- Posts: 193
- Thank you received: 11
-
-

3 years 10 months ago [\#347701](#347701) by [affaf1952](/forum/user/51687-affaf1952 "View affaf1952's Profile")  Replied by *[affaf1952](/forum/user/51687-affaf1952 "View affaf1952's Profile")* on topic *[After Updates to 4.7](/forum/3-bug-report/905570-after-updates-to-4-7#347701 "Hello, I just updated the website to the new version of Hikashop Business 4.7 , the owner of the restaurant hand me the new menu prices , as soon i updated the first product and saved that what happen please see below, thanks  Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/test5/test.com/libraries/vendor/joomla/registry/src/Format/Json.php on line 54  Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/responsivelightbox/responsivelightbox.php on line 22  Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/test5/test.com/plugins/content/retinaimages/retinaimages.php on line 22  Please Advice, thanks")*

Hello Nick,
I took your Note about PHP8, and indeed you are right i did update from php 8 to php 8.1 and i did also the update to HS 4.7 and that was the results, i put the php back to 8 and all works perfect , thank you for the Hint out, Affaf

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDU1NzAtYWZ0ZXItdXBkYXRlcy10by00LTc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.053 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
