Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Blank page and Fatal error JEventDispatcher::getContent()

Featured Lock Resolved Issue
Goodmorning,
I can't figure it out two things:
1. why when I make login in the front-end I get a blank page
2. why when in the pagebuilder I click on front-end edit I get a wrong url (then if I correct the url and make the login a blank page like point 1)

The website is https://cabe.marcopenitenti.it and the copy on the right domain: https://cabemilano.com
Both have Joomla 3x last versione, pagebuilder and template joomshaper shaper_spetctrum last versione. In the first domain there is php 7.x in the second one php 5.5 for now. Some identical problem on both.

Error Log:
Notice: Constant K2_JVERSION already defined in /home/ufvi5vl0/domains/http://cabemilano.com/public_html/plugins/system/k2/k2.php on line 21
Fatal error: Call to undefined method JEventDispatcher::getContent() in /home/ufvi5vl0/domains/http://cabemilano.com/public_html/plugins/editors-xtd/readmore/readmore.php on line 44

This is what happens on the first site:
Notice: Constant K2_JVERSION already defined in /home/lhjupqcg/http://cabe.marcopenitenti.it/plugins/system/k2/k2.php on line 21
logo

OH CRAP!

Call to undefined method JEventDispatcher::getContent()

Any Idea,
thanks.

m.

10 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
The more extra plugin you would install then harder to find a reason of problems.
The "Readmore" plugin was a basic example.
Smart method:
Disable extra installed plugins one by one, to check one which makes a mess.
---
Using PHP 5.5, PHP 5.6, PHP 7.0 is not recommended anymore.

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
1) please contact with K2 and JEvent component support.
2) K2 was not overridden in Spectrum template.
3) beside PHP 5.5 is not supported anymore, by nobody.

Marco Penitenti

More than a month ago #Permalink
Hello,
3) PHP5.5 is temporary on a server, the other one is PHP7 (as you can see from my message) so that is not the problem.
2) Sorry, I don't understand, I cannot use Spectrum template and K2 together? What is the exact meaning by K2 was not overridden in Spectrum template?
1) The first error of K2 is not blocking the website, I'll try to figure it out.
The JEventDispatcher::getContent() may be yes, but I didn't install JEvent, As matter of fact I think JEventDispatcher is by Joomla! Event Dispatcher and not JEvent.

The front-end login worked at the beginning, I don't use it often so I don't know when it broken. Oh, I also have the falang plugin (I try to write to them too).

It's urgent for me to solve it. Any further help is appreciated.

Thanks,
Marco

Marco Penitenti

More than a month ago #Permalink
On version with PHP7 I can't see the debug on the bottom of the "OH CRAP" Page and I can't see the second error link.
On version with PHP5 I see the following line:

Fatal error: Call to undefined method JEventDispatcher::getContent() in /home/ufvi5vl0/domains/http://cabemilano.com/public_html/plugins/editors-xtd/readmore/readmore.php on line 44

It calls JEventDispatcher as undefined method inthe editor-xtd readmore.php file which is relate to you I think.

Now if I can find the plugin I try to disable it.

Any suggestion?

Thanks,
Marco

Marco Penitenti

More than a month ago #Permalink
I found out that if I dispable the readmore plugin (which is a core funcion of joomla) the error dissapear, beside I've discovered that if I change the template with a Joomla! one, the error dissapear.

m.

Marco Penitenti

More than a month ago #Permalink
If I disable K2, the website comes back.

It happens only if I login in in the front-end, otherwise it works.

Even disabling K2 or changing the template there is no more the JEventDispatcher error, but I can't navigate the website, I only see the profile page.

I keep testing, but I'm kind of lost...

Marco Penitenti

More than a month ago #Permalink
Update: I've resolved the navigation thing. I only had to accept the privacy from the front-end profile.

So the situation is:
1) If I disable K2 it works (but I've use it for the catalog
2) If I change the template Spectrum it works, but naturally it's ugly.

Any idea on the conflict?

Thanks,
m.

Marco Penitenti

More than a month ago #Permalink
I've Got it!

I have re-enabled the k2 component and it worked in the front-end again. So the problem is the profile page, it wasn't loading, I don't know why. As soon as I accepted the privacy, the profile page is not loading anymore, and now is working.

If I point to the profile page: index.php/it/your-profile/profile?layout=edit again I have the OH CRAP page with the same error.

Now is not urgent anymore, but if anyone has an idea it would be appreciated.

Thanks,
Marco

autumnfire

More than a month ago #Permalink
I found out that if I dispable the readmore plugin (which is a core funcion of joomla) the error dissapear, beside I've discovered that if I change the template with a Joomla! one, the error dissapear.

m.

THANK YOU !! That worked


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 111
Toufiq

Toufiq

Total Accepted Answers: 70
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 26
Ofi Khan

Ofi Khan

Total Accepted Answers: 12
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 9

120

Templates

310736

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us