Lost Password?


YourArcadeScript Forum
YAS Staff Members:
jason of Jasminrocks and etc
royal of Flash Pilot

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
01-22-2017, 02:10 AM
Post: #1
I am seeing this message on my website Home page,What does it mean and how do I remove it ?

"Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; usersOnline has a deprecated constructor in /home/virtacoi/jandagames.co.uk/includes/inc.php on line 101"

01-23-2017, 07:37 PM
Post: #2
RE: Deprecated

You are using PHP 7 which is the latest version and uses constructors in a different way.

In your /includes/inc.php file you will find this code in row 105

PHP Code:
public function usersOnline () { 

Change usersOnline to __construct like this.

PHP Code:
public function __construct() { 

I hope this works

[Image: 2ive7ac.jpg]
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)

Powered By MyBB, © 2002-2017 MyBB Group.
Theme designed by Marvel (Sidebar created by Yaldaram - Yaldaram.com)
Copyright © 2017 YourArcadeScript Home - All rights reserved.