Function strftime() is deprecated JS 5.07 PHP 8.1

13.09.2022 16:27
#1
kosh2323
Joomshopping forum user no avatar
Name: Jory
14.03.2021
Posts: 49
Quote
Function strftime() is deprecated JS 5.07 PHP 8.1

When creating a product, it pops up in the admin panel in the product creation date field "Deprecated: Function strftime() is deprecated in SITE\components\com_jshopping\Helper\Helper.php on line 200"
13.09.2022 14:18:50

And accordingly I get errors on the website in the product and the product card

"Warning: Undefined array key 0 in SITE\components\com_jshopping\Helper\Helper.php on line 1012

Warning: Undefined array key 0 in SITE\components\com_jshopping\Helper\Helper.php on line 925"


Joomla: 4.2.2
JoomShopping: 5.0.7
PHP: 8.1
MySQL: 8.0

Last change: 13.09.2022 16:32
 
13.09.2022 16:36
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

Will be fixed in new version.
-----
Now:
Disable display errors.

or
Use JoomShopping install update:
https://www.joomshopping.com/components/com_forum/uploads/upd_joomshopping_5.8.0_a8.zip

 
13.09.2022 16:54
#3
kosh2323
Joomshopping forum user no avatar
Name: Jory
14.03.2021
Posts: 49
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

admin - 13.09.2022 16:36
Will be fixed in new version.
-----
Now:
Disable display errors.

or
Use JoomShopping install update:
https://www.joomshopping.com/components/com_forum/uploads/upd_joomshopping_5.8.0_a8.zip


No it doesn't help, updated, on the category page I get this

Warning: Undefined array key 0 in SITE\components\com_jshopping\Helper\Helper.php on line 1010

Warning: Undefined array key 0 in SITE\components\com_jshopping\Helper\Helper.php on line 923

in the product card, this is

Warning: Undefined array key SITE\components\com_jshopping\Helper\Helper.php on line 923

everything is fine in the admin panel.

 
13.09.2022 16:58
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

Yes. Fixed only strftime.

Will be fixed in new version.

New disable error.
System / Global configuration / Server
Error Reporting: none
---------------------------------------
This warning does not affect the operation of the store


Last change: 13.09.2022 17:00
 
13.09.2022 17:09
#5
kosh2323
Joomshopping forum user no avatar
Name: Jory
14.03.2021
Posts: 49
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

admin - 13.09.2022 16:58
Yes. Fixed only strftime.

Will be fixed in new version.

New disable error.
System / Global configuration / Server
Error Reporting: none
---------------------------------------
This warning does not affect the operation of the store


Yes, I have already disabled it, I hope it will be fixed in the new version, thank you.

 
14.09.2022 22:00
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

Component Joomshopping 5.1.0 A3
https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/betaversion.html?lang=en

fixed php 8 warning

 
15.09.2022 09:34
#7
kosh2323
Joomshopping forum user no avatar
Name: Jory
14.03.2021
Posts: 49
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

admin - 14.09.2022 22:00
Component Joomshopping 5.1.0 A3
https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/downloads/betaversion.html?lang=en

fixed php 8 warning


Yes, there don't seem to be any more warnings, thank you

 
16.09.2022 17:20
#8
kosh2323
Joomshopping forum user no avatar
Name: Jory
14.03.2021
Posts: 49
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

Warnings are not completely disabled, sometimes they still appear despite updates. When trying to create a payment method, this pops up in the admin panel

Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in \components\com_jshopping\Table\PaymentmethodTable.php on line 168

 
17.09.2022 15:27
#9
kosh2323
Joomshopping forum user no avatar
Name: Jory
14.03.2021
Posts: 49
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

New version 5.10. If the "old price" field is filled in in the product, then on the product category page, here is a warning.

Warning: Undefined property: stdClass::$user_discount in ....\components\com_jshopping\Helper\Helper.php on line 734

there are no such warnings in the card of this product itself with the old price.

If an "additional price" is added to the product, for example, from 10 to 20 pcs. the price is less by 10 percent, then

there are no warnings in the category with goods itself, but in the card of this product again this

Warning: Undefined property: stdClass::$user_discount in ...\components\com_jshopping\Helper\Helper.php on line 734

Where the price is calculated, apparently.

 
17.09.2022 17:56
#10
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

Install from JoomShoping (for 5.1.0)
upd_joomshopping_5.1.1_a1.zip

 
17.09.2022 19:28
#11
kosh2323
Joomshopping forum user no avatar
Name: Jory
14.03.2021
Posts: 49
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

admin - 17.09.2022 17:56
Install from JoomShoping (for 5.1.0)
upd_joomshopping_5.1.1_a1.zip


Updated, thanks for the promptness, and the desire to help
-----------------
1. Creating a new type of payment, and now the same problems with installed plugins

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in ..\plugins\jshoppingadmin\addon_order_email_payment_attachement\addon_order_email_payment_attachement.php on line 9

Warning: Undefined array key 1 in ..\plugins\jshoppingadmin\addon_order_email_payment_attachement\addon_order_email_payment_attachement.php on line 9
------------------------------------------------------------------------------------------------------------------------------------------

2. Where the old price is indicated for the product, I see this in the product card, problems with plugins

Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in ..\plugins\jshoppingproducts\wt_jshopping_last_seen_products\wt_jshopping_last_seen_products.php on line 35

Deprecated: Automatic conversion of false to array is deprecated in ..\plugins\jshoppingproducts\wt_jshopping_last_seen_products\wt_jshopping_last_seen_products.php on line 43

Although this is not your plugin, it does not cause problems on 5.10
-----------------------------------------------------------------------------------------------------------------------

3. Where an additional price is assigned to the product, for example, from 10 to 20 pieces, a 10% discount, there are no warnings and errors.
-----------------------------------------------------------------------------------------------------------------------

4. Now, after the update, warnings have appeared for dependent and independent attributes of goods, there are a bunch of them, here are a few, again related to plugins

Warning: Undefined property: stdClass::$image in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 33

Warning: Undefined array key 0 in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 44

Warning: Undefined array key 1 in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 46

Warning: Undefined array key 0 in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 47
-----------------------

Warning: Undefined array key 3 in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 58

Warning: Undefined variable $radioseparator in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 58


Last change: 17.09.2022 19:31
 
24.09.2022 08:50
#12
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

1. Order email payment attachement 2.0.5

2. wt_jshopping_last_seen_products - Another developer's addon

4. Attr Value Description 2.0.4
fixed only
Warning: Undefined variable $radioseparator in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 58
other errors - only possible in combination with another addon


Last change: 24.09.2022 09:17
 
24.09.2022 14:26
#13
kosh2323
Joomshopping forum user no avatar
Name: Jory
14.03.2021
Posts: 49
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

admin - 24.09.2022 08:50
1. Order email payment attachement 2.0.5

2. wt_jshopping_last_seen_products - Another developer's addon

4. Attr Value Description 2.0.4
fixed only
Warning: Undefined variable $radioseparator in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 58
other errors - only possible in combination with another addon


Hi,

1. After installing the new version, I found no problems.

2. As I understand it, this is for the developer.

4. In the new version, what to do about it? Just turn off notifications?

The product has independent attributes, I see this

Warning: Undefined array key 3 in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 60

The product has dependent attributes, I see this

Warning: Undefined array key 0 in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 44

Warning: Undefined array key 1 in plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 46

Warning: Undefined array key 1 in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 50

Warning: Undefined array key "" in \plugins\jshoppingproducts\attr_value_description\attr_value_description.php on line 50

 
24.09.2022 18:41
#14
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25934
Quote
Aw: Function strftime() is deprecated JS 5.07 PHP 8.1

url?
ftp?
(forum privat msg.)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.