Search
Other Better Preview questions
Forum

Error 500 in Content

Davide M.'s Avatar Davide M.
Hello,
I have everything updated, but when I go tho content manager I received error 500.

If I disable the plugin, it works.

Thanks a lot,
Davide
Peter van Westen's Avatar Peter van Westen ADMIN
Please check what php error breaks the page.
You can see php errors by setting the Error Reporting to 'Developer' in the Global Configuration:

Or take a look at your php error log. Or enable php error reporting (via .htaccess for example).
Please post a rating at the Joomla! Extensions Directory
Davide M.'s Avatar Davide M.
Hi Peter,

thank you very much, this is what I get:

Fatal error: Cannot declare class MenusModelMenutypes, because the name is already in use in /httpdocs/administrator/components/com_menus/models/menutypes.php on line 621


Thanks,
Davide
Peter van Westen's Avatar Peter van Westen ADMIN
Weird, not something Better Preview specifically does.
Maybe some clash with another 3rd party extension.
Can you reproduce the issue on a clean Joomla installation?
Please post a rating at the Joomla! Extensions Directory
Davide M.'s Avatar Davide M.
Hi,

it works... probably a plugin crashes.Any idea?


Thanks.
Peter van Westen's Avatar Peter van Westen ADMIN
Your guess is as good as mine.
Please post a rating at the Joomla! Extensions Directory
Toni56's Avatar Toni56
Hi
I got the same message. I searched for MenusModelMenutypes in php files and got 6 results:
administrator\components\com_menus\models\fields\menutype.php
administrator\components\com_menus\models\menutypes.php
plugins\system\betterpreview\src\Component\Link.php
plugins\system\betterpreview\src\Component\Menus\Item\Link.php
plugins\system\vmuikit_override\menutypes.php
plugins\system\vmuikit_override\vmuikit_override.php

When I disable vmuikit OR betterpreview, it works. When both of them are enabled, it doesn't work
Peter van Westen's Avatar Peter van Westen ADMIN
Better Preview only uses the MenusModelMenutypes class, it doesn't create it.
So it looks like the issue is that vmuikit is trying to override a class that already exists.
You will have to ask them if they can fix this.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription