English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: JEvents Latest Events Module
#5993
JEvents Latest Events Module 14 Years ago Karma: 0
I've started to get the following error in my slave sites when adding or editing a JEvents Latest Events module.

Fatal error: Call to a member function getMenu() on a non-object in .../public_html/administrator/components/com_jevents/elements/jevmenu.php on line 47

I posted in the JEvents forum and was told that this is the code in question:

Code:

 $menu =& JApplication::getMenu('site', $options);
      $menuItems = $menu->getMenu(); 



Can you shed any light on this problem?
IanM
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5996
Re: JEvents Latest Events Module 14 Years ago Karma: 54
The error message means that

$menu =& JApplication::getMenu('site', $options);

return a "$menu" that is probably null or empty or false.
This is not a "menu object" that explain why the
$menu->getMenu();
generate this fatal error.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5997
Re:JEvents Latest Events Module 14 Years ago Karma: 0
I'm sorry but I don't understand what that means. All I know is that the module works on the master site but not on the slave sites. Is there any trouble shooting I can do?
IanM
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6001
Re:JEvents Latest Events Module 14 Years ago Karma: 54
If you want to know more concerning the reason, I think you should try debug the code and try identify which extension (plugin, module, ...) call this line and in which content. Perhaps this will give you an indication on the reason.

If you want that we debug Joomla on your environment to tell you the conditions that generate this fatal error, this is possible with our billable support that you can order at
www.jms2win.com/download?page=shop.produ...35&category_id=1
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla