Oops..you have encountered an error 0

Premium sports magazine Joomla template with clean, easy to customize and unique design.
GK User
Wed Dec 31, 2014 5:52 am
Subject says it all...except the home page, most pages are showing the above error. Initially I thought it had something to do with K2 as most pages have k2 articles in them. But it turns out other pages without the K2 articles are also showing error. I am using league news template on J3.3

Here is what I have done in terms of troubleshooting -
- disabled every module one by one, type by type to see if the error disappears. It did not.
- turned off SEF settings
- turned error reporting to maximum and here are the major ones I get (several, but here are a few representative)

Non-static method NH_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in //modules/mod_highlighter_gk4/helper.php on line 137
Only variables should be assigned by reference in /modules/mod_highlighter_gk4/gk_classes/gk.source.k2.php on line 18
Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218
Non-static method GKIS_LeagueNews1_Image::getRealPath() should not be called statically, assuming $this from incompatible context in /modules/mod_image_show_gk4/styles/gk_league_news1/class.image.php on line 21

Please help. I will post a summary for the benefit of others. Thanks.
User avatar
Fresh Boarder

GK User
Thu Jan 01, 2015 3:01 pm
Have you tried to disable the template and try on default Beeze?
User avatar
Moderator

GK User
Fri Jan 02, 2015 8:03 am
Just tried..seems to be ok with Beez
User avatar
Fresh Boarder

GK User
Fri Jan 02, 2015 10:35 am
Strange, none of the above errors correspond to template itself.
League news is quite old template - have you got any issues with it before?
User avatar
Moderator

GK User
Mon Jan 05, 2015 9:49 am
No never had any issues with it...are there any updates I should be checking?
User avatar
Fresh Boarder

GK User
Mon Jan 05, 2015 10:45 am
I'm guessing this might be hosting server problem. Probably your hosting company has changed php version to one that doesn't fit Joomla requirements. Could you please ask hosting company support if they did such change lately?
User avatar
Moderator

GK User
Mon Jan 05, 2015 10:49 am
I had changed my host server a few weeks back...I just checked with the new hosting company. They use the following -
PHP version 5.2.17
MySQL version 5.1.60-rel13.1-log
They have not made changes recently, though.
Is this php version ok?
User avatar
Fresh Boarder

GK User
Mon Jan 05, 2015 11:22 am
I just went ahead and upgraded to php 5.4.24 and I still get the same error.
User avatar
Fresh Boarder

GK User
Tue Jan 06, 2015 7:14 am
Anything I am missing here? Any assistance is appreciated..am running out of options. Many thanks in advance.
User avatar
Fresh Boarder

GK User
Tue Jan 06, 2015 10:45 am
One more thing to try - please enable error reporting in Joomla configuration and copy here exactly all errors you see (with Error/Warning info on beginning of each line).
User avatar
Moderator

GK User
Wed Jan 07, 2015 4:56 am
I set error reporting to maximum, and the pages that continued to show "Oops..you have encountered an error 0" show exactly that, and nothing else.

The home page, which was error free in the past, now shows a string of errors like this -

Strict Standards: Only variables should be assigned by reference in /localhost/modules/mod_news_pro_gk4/helper.php on line 553

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 200

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 200

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 200

Strict Standards: Non-static method NSP_GK4_Thumbs::createThumbnail() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 263

Strict Standards: Non-static method NSP_GK4_Thumbs::checkSpecialImages() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 127

Strict Standards: Non-static method NSP_GK4_Thumbs::translateName() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 127

Strict Standards: Non-static method NSP_GK4_Thumbs::getRealPath() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 32

Strict Standards: Non-static method NSP_GK4_Thumbs::checkCache() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 206

Strict Standards: Non-static method NSP_GK4_Thumbs::translateName() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 207

Strict Standards: Non-static method NSP_GK4_Thumbs::getRealPath() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 32

Strict Standards: Non-static method NSP_GK4_Thumbs::translateName() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 265

Strict Standards: Non-static method NSP_GK4_Thumbs::getRealPath() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 32

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 200

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 200

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 200

Strict Standards: Non-static method NSP_GK4_Thumbs::createThumbnail() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 263

Strict Standards: Non-static method NSP_GK4_Thumbs::checkSpecialImages() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 127

Strict Standards: Non-static method NSP_GK4_Thumbs::translateName() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 127

Strict Standards: Non-static method NSP_GK4_Thumbs::getRealPath() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 32

Strict Standards: Non-static method NSP_GK4_Thumbs::checkCache() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 206

Strict Standards: Non-static method NSP_GK4_Thumbs::translateName() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 207

Strict Standards: Non-static method NSP_GK4_Thumbs::getRealPath() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 32

Strict Standards: Non-static method NSP_GK4_Thumbs::translateName() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 265

Strict Standards: Non-static method NSP_GK4_Thumbs::getRealPath() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/gk_classes/gk.thumbs.php on line 32

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 200

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 200

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 200

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 218

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 439

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 439

Strict Standards: Non-static method NSP_GK4_Utils::cutText() should not be called statically, assuming $this from incompatible context in /localhost/modules/mod_news_pro_gk4/tmpl/layout.parts.php on line 439
User avatar
Fresh Boarder

GK User
Wed Jan 07, 2015 11:52 am
This problem has been open for more than a week..would appreciate if anyone can help me close this quickly. Thanks in advance.
User avatar
Fresh Boarder

GK User
Wed Jan 07, 2015 5:23 pm
After gathering all available informations I have asked more advanced moderators to take a look into this issue. Someone will write here soon.
User avatar
Moderator

GK User
Fri Jan 09, 2015 5:21 am
Cyberek or other experts - please close this issue. If any one else had a similar issue on other Gavick templates, would love to hear possible solutions.
User avatar
Fresh Boarder

GK User
Fri Jan 09, 2015 8:21 am
If it is still possible - please rename error.php to __error.php in template folder. It should provide more detailed information.
User avatar
Moderator

GK User
Fri Jan 09, 2015 10:42 am
When I rename error.php to _error.php in /templates/gk_league_news/ it shows a mysql error, and does not connect to database.

0- could not connect to mysql
User avatar
Fresh Boarder

GK User
Sat Jan 10, 2015 9:50 am
And it does only on subpages while frontpage works fine? And also subpages works fine with default Beeze?
If so - please try reuploading the template (with ftp).
User avatar
Moderator

GK User
Sat Jan 10, 2015 9:51 am
Backup entire site before just in case (files & database).
User avatar
Moderator


cron