AFter update PHP 8

  • habusam
    Active member
  • Topic Author
  • Member
  • Member
More
2 years 3 weeks ago #49802 by habusam
AFter update PHP 8 was created by habusam
Hello Milo, just happend last night 
when i tried to save article from Hikashop and going back and forth with Hikashop they think the isse related to the PHP 8 
please see below Hi,

The messages: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.

Please advice, thanks 

 

Please Log in to join the conversation.

  • habusam
    Active member
  • Topic Author
  • Member
  • Member
More
2 years 3 weeks ago #49803 by habusam
Replied by habusam on topic AFter update PHP 8

Hello Milo, just happend last night 
when i tried to save article from Hikashop and going back and forth with Hikashop they think the isse related to the PHP 8 
please see below Hi,

The messages: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.

Please advice, thanks 

ONE MORE INFORMATION , i lower PHP from 8.1 to 8.0 and it works perfect, not sure what to do , please advice

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
2 years 3 weeks ago #49804 by milos
Replied by milos on topic AFter update PHP 8
Hello,

Please install the attached plugins (both of them) and let me know if it fixes the error.

Regards,
Milos

 

File Attachment:

File Name: responsive...tbox.zip
File Size:20 KB

 

File Attachment:

File Name: retinaimages.zip
File Size:5 KB

Please Log in to join the conversation.

  • habusam
    Active member
  • Topic Author
  • Member
  • Member
More
2 years 3 weeks ago #49805 by habusam
Replied by habusam on topic AFter update PHP 8
Ok, let me try and get back to you, thanks

Please Log in to join the conversation.

  • habusam
    Active member
  • Topic Author
  • Member
  • Member
More
2 years 3 weeks ago #49806 by habusam
Replied by habusam on topic AFter update PHP 8
I did reinstall the 2 extensions you sent me but as soon I upgraded from PHP 8.0 to PHP 8.1 it happened again, 
see below
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 advise, thank you, keep in mind if I put the PHP from Cpanel back to 
PHP 8.0 (ea-php80), this happens only if I upgrade to  PHP 8.1 (ea-php81) it works fine

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
2 years 3 weeks ago #49807 by milos
Replied by milos on topic AFter update PHP 8
Hello,

I understand that you see this warning only with PHP 8.1.

Please download and install the attached plugins (we have modified them a little bit). Let me know if it fixes the problem with PHP 8.1.

Regards,
Milos

 

File Attachment:

File Name: responsive..._new.zip
File Size:20 KB

 

File Attachment:

File Name: retinaimages_new.zip
File Size:5 KB

Please Log in to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum