- Posts: 193
- Thank you received: 11
After Updates to 4.7
3 years 10 months ago #347696
by affaf1952
After Updates to 4.7 was created by affaf1952
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
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 or Create an account to join the conversation.
3 years 10 months ago - 3 years 10 months ago #347699
by nicolas
Replied by nicolas on topic After Updates to 4.7
Hi,
The messages:
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
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.
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
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
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.
Please Log in or Create an account to join the conversation.
3 years 10 months ago #347701
by affaf1952
Replied by affaf1952 on topic After Updates to 4.7
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
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 or Create an account to join the conversation.
Time to create page: 0.063 seconds