Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1122

PostPosted: Fri Apr 14, 2023 5:28 pm Reply with quote

I guess found another deprecated issue. When I try to delete cookies I guess these 2 errors.

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /www.bestbuildpc.org/modules/Your_Account/includes/cookiecheck.php on line 150

I search for this line:

Code:
while (list($cName, $cValue) = each($CookieArray)) {


Replace with

Code:
foreach($CookieArray as $cName => $cValue) {


Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /www.bestbuildpc.org/modules/Your_Account/includes/cookiecheck.php on line 199

Search for

Code:
while (list($cName, $cValue) = each($CookieArray)) {


Replace with

Code:
foreach($CookieArray as $cName => $cValue) {


[ Only registered users can see links on this board! Get registered or login! ]

neralex: Can u tell me if this is the way to do it. I didn't get the error anymore. Let me know.
 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1772

PostPosted: Sat Apr 15, 2023 3:31 am Reply with quote

Yes, right. Thanks. [ Only registered users can see links on this board! Get registered or login! ]

_________________
Github: RavenNuke 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©