I just tried setting this up in ubuntu 18 with php 7.2 and it errors out. The error I get is:
http://php.net/manual/en/reserved.other-reserved-words.php has the "object" is a reserved word in 7.2
This file etc. will need to be changed to be compatible with the latest version of php. In the mean time I just reverted back to 7.0.
Thanks
PHP Fatal error: Cannot use 'Object' as class name as it is reserved in /var/www/html/system/library/object.php on line 10
http://php.net/manual/en/reserved.other-reserved-words.php has the "object" is a reserved word in 7.2
This file etc. will need to be changed to be compatible with the latest version of php. In the mean time I just reverted back to 7.0.
Thanks
In Development
Share this post:
Responses (3)
-
Accepted Answer
-
Accepted Answer
Please has any fix yet been available for this Reserved Object class name issue?
Upon trying to install the Arastta on my local machine running Xampp server, it shows "Fatal error: Cannot use 'Object' as class name as it is reserved in C:\xampp\htdocs\system\library\object.php on line 10". How do I fix this issue? -
Accepted Answer
Yeah, the system needs contributors to make it compatible with PHP 7.2+.
Feel free to add your fixes as pull requests at GitHub, and test the pending ones ...
Also you should take a look at both open and fixed issues at GitHub, before posting 'issues', as this is one of those already being fixed for next version:
https://github.com/arastta/arastta/pull/768
https://github.com/arastta/arastta/issues
https://github.com/arastta/arastta/issues?q=is%3Aissue+is%3Aclosed
https://github.com/arastta/arastta/pulls
https://github.com/arastta/arastta/pulls?q=is%3Apr+is%3Aclosed
https://github.com/arastta/arastta/commits/1.7-dev
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »