Deprecated: Optional parameter | implicitly treated as a required parameter #317
Unanswered
wissedenis
asked this question in
Problems / Bugs
Replies: 2 comments 2 replies
-
Hi, I assume you are using 4.15.2? This version isn't php8 compatible and your error is php8 warning. This problem has been fixed in the master branch. Thanks |
Beta Was this translation helpful? Give feedback.
2 replies
-
The error you were citing was in includes/DefineCartClass.php not in
DefinePOClass.php
…On Fri, 20 Dec 2024 at 05:51, wissedenis ***@***.***> wrote:
Hi, I assume you are using 4.15.2? This version isn't php8 compatible and
your error is php8 warning. This problem has been fixed in the master
branch. You can avoid seeing this message by changing your
error_reporting() setting in config.php, or by using php7
Thanks Tim
I also got DefinePOClass.php from the master branch and replaced it but
the error persists
—
Reply to this email directly, view it on GitHub
<#317 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAL6LCTKZPNMJN624CCRKL2GOV7XAVCNFSM6AAAAABT2U5BGKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNRSGQ4DINA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello everythin,
has anyone faced this issue
php8.1
Deprecated: Optional parameter $Disc declared before required parameter $Weight is implicitly treated as a required parameter in /includes/DefineCartClass.php on line 80
Deprecated: Optional parameter $UpdateDB declared before required parameter $identifier is implicitly treated as a required parameter in /DefineCartClass.php on line 183
even when you change the order the error stays! It keeps on changing,
this is really annoying
Beta Was this translation helpful? Give feedback.
All reactions