- Posts: 218
- Thank you received: 3
Deprecated Error in Prioduct edit
- Wynand Louw
- Topic Author
- Offline
- Elite Member
Less
More
11 months 1 week ago #162780
by Wynand Louw
Deprecated Error in Prioduct edit was created by Wynand Louw
Get the following error on Eshop Product [Edit]:
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/mysite/public_html/libraries/src/HTML/Helpers/Select.php on line 220
When I want to edit a product.
J5, PHP8.1.26 Eshop 3.8.0
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/mysite/public_html/libraries/src/HTML/Helpers/Select.php on line 220
When I want to edit a product.
J5, PHP8.1.26 Eshop 3.8.0
The following user(s) said Thank You: Roman Bublyk
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
- Offline
- Administrator
10 months 3 weeks ago #163028
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Deprecated Error in Prioduct edit
Hello Wynand,
Please submit a new ticket to EShop category so I can help you to check.
Sincerely, Giang
Please submit a new ticket to EShop category so I can help you to check.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Wynand Louw
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 218
- Thank you received: 3
10 months 2 weeks ago #163172
by Wynand Louw
Replied by Wynand Louw on topic Deprecated Error in Prioduct edit
Hello Giang
I had a look at the select.php file on line 220
The Joomla Helper has the following in that line code:
[$ id = str_replace(', ' '], '', $id);]
It seems that somewhere in the Eshop code there must be a str_ replace(): Passing null to parameter #3 ($ subject) coding that is causing the problem when you edit a product. It does not happen when you create a new product.
Using Joomla 5.0.1 and PHP 8.2.13
Not sure if it is Joomla or Eshop.
I had a look at the select.php file on line 220
The Joomla Helper has the following in that line code:
[$ id = str_replace(', ' '], '', $id);]
It seems that somewhere in the Eshop code there must be a str_ replace(): Passing null to parameter #3 ($ subject) coding that is causing the problem when you edit a product. It does not happen when you create a new product.
Using Joomla 5.0.1 and PHP 8.2.13
Not sure if it is Joomla or Eshop.
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
- Offline
- Administrator
10 months 1 week ago #163412
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Deprecated Error in Prioduct edit
Dear Wynand Louw,
I see this and just fixed it. This fix will be included into next version of EShop.
Sincerely, Giang
I see this and just fixed it. This fix will be included into next version of EShop.
Sincerely, Giang
The following user(s) said Thank You: Wynand Louw
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.