Package installation error.
Permalink 1 user found helpful
I am installing a package and i am getting below error. Please help me.
Cannot use Concrete\Core\Foundation\Object as Object because 'Object' is a special class name
Cannot use Concrete\Core\Foundation\Object as Object because 'Object' is a special class name
@Gondwana
Here is the pull request you are referring to.
"Dont use Object as class name #5820"
https://github.com/concrete5/concrete5/pull/5820...
The current 8.3.2 version does not use Object.
Here is the pull request you are referring to.
"Dont use Object as class name #5820"
https://github.com/concrete5/concrete5/pull/5820...
The current 8.3.2 version does not use Object.
Thanks MrK. :) I knew someone would know.
I guess there's a chance that the package being installed may also need to be updated to avoid trying to use the old c5 Object class.
I guess there's a chance that the package being installed may also need to be updated to avoid trying to use the old c5 Object class.
I just had this happen, too, and now I can't run Concrete5 at all. Newby here - what is my next course of action?
More info required.
What version of concrete5 are you using.
What php version is your host running on your server.
What error messages are you seeing.
What version of concrete5 are you using.
What php version is your host running on your server.
What error messages are you seeing.
Thanks for the quick reply.
Concrete5 - 8.4.2
PHP - 7.2.8
The error "Cannot use Concrete\Core\Foundation\Object as Object because
'Object' is a special class name"
In my case, I was downloading a new theme when it happened. Since writing
this first message, I found and deleted subfolder with that theme in it and
Concrete was able to run again.
On Sat, Sep 22, 2018 at 5:00 PM concrete5 Community <
discussions@concretecms.com> wrote:
Concrete5 - 8.4.2
PHP - 7.2.8
The error "Cannot use Concrete\Core\Foundation\Object as Object because
'Object' is a special class name"
In my case, I was downloading a new theme when it happened. Since writing
this first message, I found and deleted subfolder with that theme in it and
Concrete was able to run again.
On Sat, Sep 22, 2018 at 5:00 PM concrete5 Community <
discussions@concretecms.com> wrote:
Going back to php 7.1 will be the quickest fix.
Deleting a folder without first uninstalling the theme from within c5 may have left corruption in your database. To avoid possible problems associated with this, I recommend rolling back to a backup copy of your site.
Well done for figuring it out..
Which theme was it that caused the error?
Which theme was it that caused the error?
Thanks. The theme I tried to install was Supermint 3, v.3.4.1.3. Once I
was able to get concrete running again, it gave me the option to uninstall
Supermint.
I will go ahead and roll-back anyway. I’m so early in my development that
I could start completely over with little to lose.
On Sun, Sep 23, 2018 at 1:03 AM concrete5 Community <
discussions@concretecms.com> wrote:
was able to get concrete running again, it gave me the option to uninstall
Supermint.
I will go ahead and roll-back anyway. I’m so early in my development that
I could start completely over with little to lose.
On Sun, Sep 23, 2018 at 1:03 AM concrete5 Community <
discussions@concretecms.com> wrote:
Alternatively, I think this issue has been addressed in recent builds of c5, but I'm not sure which version, or even whether it has been released yet.