SOLVED "Cannot use Gantry\Joomla\Object\.." when specifying particle settings
Posted 5 years 10 months ago
Hi,
I have inserted a "Joomla Article" particle in the Mainbar and Extension containers in the Layout Editor of the Callisto (v 1.4.2) template running on Joomla 3.9.1. When I try to specify the article that is to be displayed by the particles in each of those containers by clicking on the settings (cog wheel) icon, I get the following error message:
" Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Cannot use Gantry\Joomla\Object\Object as Object because 'Object' is a special class name"
and the following code opens in libraries/gantry5/classes/Gantry/Joomla/Category/Category.php:
Re: SOLVED "Cannot use Gantry\Joomla\Object\.." when specifying particle settings
Posted 5 years 10 months ago
Please would you post your URL, superuser id and pswd in the secure tab of your post and I'll have a look for you.
please give exact steps to reproduce.
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: SOLVED "Cannot use Gantry\Joomla\Object\.." when specifying particle settings
Posted 5 years 10 months ago
That url does not seem correct ? I just get Server not found?
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: SOLVED "Cannot use Gantry\Joomla\Object\.." when specifying particle settings
Posted 5 years 10 months ago
Your outline layout has become corrupted some how... Please post your FTP logon, password and FTP URL in the secure area of your post.
I'll try and repair it, but it might be irepairably broken.
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: SOLVED "Cannot use Gantry\Joomla\Object\.." when specifying particle settings
Posted 5 years 10 months ago
Thanks for offering to fix the outline, Mark. As I have some backups and as little work has been done between them, I may be able to repeat that limited work on a backup without much inconvenience. It would be even better, of course, if I could just copy the file(s) related to that outline from a backup into the current version of the site. Is that documented somewhere (I could not find it in the Gantry 5 docs)?
Re: SOLVED "Cannot use Gantry\Joomla\Object\.." when specifying particle settings
Posted 5 years 10 months ago
No, don’t copy files that’s too prone to mistakes,use the whole backup restore.
Regards, Mark.
Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
Re: SOLVED "Cannot use Gantry\Joomla\Object\.." when specifying particle settings
Posted 5 years 10 months ago
I restored a number of backups, but unfortunately even the oldest backup that I could sensibly go back to suffers, when restored, from the same problem, i.e. the error message appears as soon as I try to specify the article in the settings control of the Joomla Articles particle... I remember that I had a similar problem in the past (it would have been with Joomla 3.8.13 or an earlier version), but because I did not have the time to report it, I skirted it... Can it be ruled out that this is not a problem in the Calisto template or even in Gantry 5?
Re: SOLVED "Cannot use Gantry\Joomla\Object\.." when specifying particle settings
Posted 5 years 10 months ago
I just installed the Flux template v. 1.1.0 and when I tried to configure the settings for the default outline, I got the very same error! So, that would indicate that not the Callisto outline is corrupted, but that there is an underlying issue that goes beyond the templates... Strange...