Error: 0 Call to undefined method JAdminCssMenu::addChild()
- Scott A Collier
- Topic Author
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
6 years 8 months ago #4798
by Scott A Collier
After installing the mod_data_admin_menu module, only the top toolbar is displayed. Viewing the pages source code, "Error: 0 Call to undefined method JAdminCssMenu::addChild()" is shown as the issue.
I believe this is due to the fact that there is a conflict between com_menu and mod_data_admin_menu. the both have the same JAdminCssMenu class name.
To resolve this issue, I renamed the JAdminCssMenu class in mod_data_admin_menu to JVdataAdminCssMenu. I also change reference to JAdminCssMenu in the mod_vdata_admin_menu.php file to use the new class name.
Maybe use namespaces in the future?
Thanks, Scott
I believe this is due to the fact that there is a conflict between com_menu and mod_data_admin_menu. the both have the same JAdminCssMenu class name.
To resolve this issue, I renamed the JAdminCssMenu class in mod_data_admin_menu to JVdataAdminCssMenu. I also change reference to JAdminCssMenu in the mod_vdata_admin_menu.php file to use the new class name.
Maybe use namespaces in the future?
Thanks, Scott
Please Log in to join the conversation.
6 years 8 months ago #4799
by Daniel
Thanks
Daniel
Replied by Daniel on topic Error: 0 Call to undefined method JAdminCssMenu::addChild()
Hello,
Thanks for reporting it to us, will resolve it ASAP.
Thanks for reporting it to us, will resolve it ASAP.
Thanks
Daniel
Please Log in to join the conversation.
- Charles Trig
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
6 years 8 months ago #4856
by Charles Trig
Replied by Charles Trig on topic Error: 0 Call to undefined method JAdminCssMenu::addChild()
I have the same issue, cant find the file you talk about, please help!! We have a News Agency that has no BACKEND ACCCESS NOW!!!!
Please Log in to join the conversation.
6 years 7 months ago #4862
by Daniel
Thanks
Daniel
Replied by Daniel on topic Error: 0 Call to undefined method JAdminCssMenu::addChild()
Hello,
The issue is resolved, vData 2.9.13 has got the fix.
The issue is resolved, vData 2.9.13 has got the fix.
Thanks
Daniel
Please Log in to join the conversation.
- Charles Trig
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
6 years 7 months ago #4863
by Charles Trig
Replied by Charles Trig on topic Error: 0 Call to undefined method JAdminCssMenu::addChild()
I already restored the site to an earlier version, uninstalled your program and upgraded Joomla to 3.8 - problem solved.
Please Log in to join the conversation.
6 years 7 months ago #4928
by Daniel
Thanks
Daniel
Replied by Daniel on topic Error: 0 Call to undefined method JAdminCssMenu::addChild()
That's alright, but if you can still use it if you have any further task on Joomla 3.8 website. The latest version is working perfectly fine now.
Thanks
Daniel
Please Log in to join the conversation.