Jump to content

[Solved] Fatal Error: Cannot use Careers4You\Helpers\Object as Object because 'Object' is a special class name


Recommended Posts

Posted

Hi again, I'm getting the following error after uploading my site:

Fatal Error: Cannot use Careers4You\Helpers\Object as Object because 'Object' is a special class name in /home/sgn/public_html/careers4you/config/classes/Careers4You/User/Users.php on line 5
But my website is working fine with the above class name 'Object' in my local server. I'm running Apache HTTPD 2.4 with PHP7.1.1, MySQL8 on Windows 10.

- Thanks in advance.

Posted

Got it! I'm going to use PHP7.1, it will be more easier than changing my whole scripts. Thank you very much!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...