Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Addon Related › eStore Receipt Creator – deprecated function
Tagged: eStore Receipt Creator
- This topic has 2 replies, 3 voices, and was last updated 2 years, 10 months ago by admin.
-
AuthorPosts
-
January 22, 2022 at 11:20 am #84086carlfrenchSpectator
I’m using the latest version of the eStore Receipt Creator and it work fine BUT when WordPress debug is turned on (I’m checking something else) I get a whole series of warning like the one below which obviously relates to a third party item (tcpdf.php) used by the plugin.
Perhaps you know about this? It would be good if it can be fixed.
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/theendle/dev.theendlessbookcase.com/wp-content/plugins/eStore-receipt-creator/tcpdf/tcpdf.php on line 2912
January 22, 2022 at 4:07 pm #84087wzpModeratorIt means just that… it is a “Warning,” but it is not (yet) fatal.
Perhaps you know about this?
When Rasmus Lerdorf invented the PHP language, he allowed array subscripts to be specified with either square “[]” or curly “{}” brackets. Going forward with PHP 7.4, Zend Technologies, which now controls PHP; wants to only support square “[]” brackets. Because there must be several trillion lines of PHP code floating around, they just can’t force everyone to comply. So, the warning message is mostly intended to be seen by new code developers.
It would be good if it can be fixed.
The tcpdf library mentioned in the warning message is an open source library; and it will be the responsibility of the open source community to resolve the issue.
Hint: The James Webb Space Telescope, and recent Mars rovers, use PHP on some of their systems. Zend isn’t going to turn these things into pieces of space junk; over their preference for square versus curly brackets.
- This reply was modified 2 years, 10 months ago by wzp.
- This reply was modified 2 years, 10 months ago by wzp.
- This reply was modified 2 years, 10 months ago by wzp.
- This reply was modified 2 years, 10 months ago by wzp.
- This reply was modified 2 years, 10 months ago by wzp.
- This reply was modified 2 years, 10 months ago by wzp.
- This reply was modified 2 years, 10 months ago by wzp.
- This reply was modified 2 years, 10 months ago by wzp.
- This reply was modified 2 years, 10 months ago by wzp.
- This reply was modified 2 years, 10 months ago by wzp.
January 22, 2022 at 11:43 pm #84101adminKeymasterI have made an update to the addon just now to address that warning in the TCPDF library. Please download a new copy and try it.
-
AuthorPosts
- You must be logged in to reply to this topic.