PHP message: PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated.
I understand this is related to my PHP version.
It might also be the cause of in Kissit:
PHP message: PHP Warning: getimagesize(https://www.nsgames.au/images/1 - image002_1.webp): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request\r\n in /var/www/clients/client1/web2/web/includes/system/override/kiss_image_thumbnailer/image_helper.php on line 135;
I'm guessing because it looks like only the images with characters make the error not 8885444987.jpg, I could be most likely wrong tho.
Name-based URLs Demo
PHP Deprecated: strtolower - Name-based URLs Demo
-
MyGamesShop
- Contributor
- Posts: 131
- Joined: Wed Mar 10, 2021 3:02 am
- Phoenix Version: v1.1.0.6
- Contact:
Re: PHP Deprecated: strtolower
So which is your PHP version and which exact Phoenix and Addon versions are you using?MyGamesShop wrote:I understand this is related to my PHP version.
Please read the post "Need Help?" which is linked in my footer.
Thank you
Rainer
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Contact:
Re: PHP Deprecated: strtolower
Sorry for late reply. Dialed back php to: PHP Version 8.1.29 (Zend 4.1.29), Phoenix Version Check on 1.0.9.3
Tried on 8.3 as well.
AH01071: Got error 'PHP message: PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /web/includes/system/override/name_based_urls.php on line 288PHP...blah blah blah...
Which then gives an error in Kissit..(I'm thinking they are related because the only image errors are ones containing characters Ive noticed)
AH01071: Got error 'PHP message: PHP Warning: getimagesize(https://www.mywebsite.com.au/images/aeons end-logo.jpg): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request\r\n in Blah blah blah..
in my case apache2 is throwing an error not a warnings.
Tried on 8.3 as well.
AH01071: Got error 'PHP message: PHP Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /web/includes/system/override/name_based_urls.php on line 288PHP...blah blah blah...
Which then gives an error in Kissit..(I'm thinking they are related because the only image errors are ones containing characters Ive noticed)
AH01071: Got error 'PHP message: PHP Warning: getimagesize(https://www.mywebsite.com.au/images/aeons end-logo.jpg): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request\r\n in Blah blah blah..
in my case apache2 is throwing an error not a warnings.
-
MyGamesShop
- Contributor
- Posts: 131
- Joined: Wed Mar 10, 2021 3:02 am
- Phoenix Version: v1.1.0.6
- Contact:
Re: PHP Deprecated: strtolower
Perhaps because you have a space between "aeons" and "end-logo.jpg" ?
Old MS2.2 PHP7.4 site being converted to CE Phoenix v1.1.0.6 PHP 8.3
- bonbec
- Contributor
- Posts: 190
- Joined: Mon Oct 26, 2020 12:23 pm
- Phoenix Version: V1.1.0.7
- Contact:
Re: PHP Deprecated: strtolower
Can you please post the URL/Page where you get the Name Based URL error.raiwa wrote: which exact Phoenix and Addon versions are you using?
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Contact:
Re: PHP Deprecated: strtolower
bobec, you seem to be right:
Tested by right clicking on an admin thumb image (containing a space) for category to get image link, pasted in new browser tab and the image was full sized. I renamed with out the space and uploaded the renamed image, right clicked.. pasted... then the image link was thumbed...
How very odd, never had this happen before, but I have moved up to the current version of PHP and Phoenix.
So Im not sure if that's a bug or my setup or a new 'feature' of Phoenix.
Thanky Raiwa for this plugin, your amazing.
Kissit 4.6.0 maybe also add a version field with a value of the version. Suggested.
Tested by right clicking on an admin thumb image (containing a space) for category to get image link, pasted in new browser tab and the image was full sized. I renamed with out the space and uploaded the renamed image, right clicked.. pasted... then the image link was thumbed...
How very odd, never had this happen before, but I have moved up to the current version of PHP and Phoenix.
So Im not sure if that's a bug or my setup or a new 'feature' of Phoenix.
Thanky Raiwa for this plugin, your amazing.
Kissit 4.6.0 maybe also add a version field with a value of the version. Suggested.
-
MyGamesShop
- Contributor
- Posts: 131
- Joined: Wed Mar 10, 2021 3:02 am
- Phoenix Version: v1.1.0.6
- Contact:
Re: PHP Deprecated: strtolower
Its already in the configuration table: KISSIT_IMAGE_MODULE.MyGamesShop wrote: Kissit 4.6.0 maybe also add a version field with a value of the version. Suggested.
But invisible in Admin. You are right, it could be shown there.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Contact: