Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joomla 3.7 crash by activating the plugin #5

Open
FionNoir opened this issue Jun 28, 2017 · 2 comments
Open

Joomla 3.7 crash by activating the plugin #5

FionNoir opened this issue Jun 28, 2017 · 2 comments
Assignees
Labels

Comments

@FionNoir
Copy link

Hi, thanks for your plugin!
But I'm sorry, I don't get this plugin to run. After activating the plugin I'm not able to load the frontend of the website. The following error is shown:
Fatal error: Cannot declare class JDocumentHTML, because the name is already in use in /mnt/web108/a2/75/5511575/htdocs/Joomla3.x/libraries/joomla/document/html/html.php on line 701

I'm not deep enough in Joomla for this I think. Would you please help me? Any idea?

@echterhoff
Copy link
Owner

Hi @FionNoir,
sure! Hope I can help you.

Technically, PHP has encountered a conflict with a class name. For any reason it tries to redeclare "JDocumentHTML". Since I do not use JDocumentHTML within my plugin, it seem kind of odd.

I need some more information:
Have you just installed "Global Variables" or did it break after an update or at any other time like installing another module/component/plugin/whatever...?
Do you use any other framework within Joomla like a templating engine?
Have you tried to switch to another template?
Do you use any other replace plugins, such as plugins that "magically" turn short commands into larger html chunks.
Have you tweaked any setting from "Variable Settings"? Some off them have the potential to screw everything.

My first guess on this issue is, you have some how managed to make the render engine recurse, but I can't think off how this could have happend. Maybe you can try to set the "Overall replacement limit" to 1... but thats also just worth a try.

I really need some more different errors or hints.

@echterhoff echterhoff self-assigned this Jun 28, 2017
@echterhoff echterhoff added the bug label Jun 28, 2017
@FionNoir
Copy link
Author

Hello @echterhoff ,
thanks for your help. I'll try to give you some more information about my setup and the issue.

  • "Global Variables" is the only replacement plugin I have used (now Rereplacer is installed too, but I'm not so happy with it).
  • I've installed "Global Variables" after Updating to Joomla 3.7.2 Stable.
  • At the moment there is PHP 5.6.30 running. I have tryed PHP 7 as well.
  • I've tryed another standard template and the settings you've said, but without result.
  • I'm not using any other renderengines as far as I know. There are only 2 extensions installed "Acymailing" and Chronoforms.

If you want, you can contact me privat and I give you access to the system. Maybe this is the fastest way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants