?
avatar ltraveler
ltraveler
23 Sep 2017

Steps to reproduce the issue

I am trying to open my home page after upgrade

Expected result

Home page

Actual result

Error displaying the error page

System information (as much as possible)

The error in my Apache log is:
PHP Fatal error: Call to a member function getTag() on null in ///*/libraries/src/Application/SiteApplication.php on line 463

This is the part with 463 stroke:
{ $tag = $this->getLanguage()->getTag(); }
I fixed this error changing this stroke to
$tag = '';
But looks like this is not a problem. So I don't know where to look for an error. Please help me.

Additional comments

I already used the method of downloading full package of Joomla 3.8 and using postupdate.php script during this operation I've got this message:

PHP Notice: Undefined index: HTTP_HOST in ***/public_html/libraries/src/Uri/Uri.php on line 101
Update to 3.8.0 completed successfully.

When I am calling index.php from the console I am getting this errors:

php index.php
PHP Notice: Undefined index: REMOTE_ADDR in ***/libraries/fof30/Utils/Ip.php on line 487
PHP Notice: Undefined index: REMOTE_ADDR in ***/libraries/fof30/Utils/Ip.php on line 383
PHP Notice: Undefined index: HTTP_HOST in ***/libraries/src/Uri/Uri.php on line 101
PHP Notice: Undefined index: REQUEST_METHOD in ***/plugins/system/admintools/feature/wafblacklist.php on line 33
Error displaying the error page

I switched off AdminTools using PhpMyAdmin. So after that I have just this error:

php index.php
PHP Notice: Undefined index: HTTP_HOST in ***/libraries/src/Uri/Uri.php on line 101
Error displaying the error page

For the backend the errors in console are the same.

My website doesn't work at at all. not frontend not even backend

avatar ltraveler ltraveler - open - 23 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 23 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Sep 2017
avatar ltraveler ltraveler - change - 23 Sep 2017
The description was changed
avatar ltraveler ltraveler - edited - 23 Sep 2017
avatar ltraveler ltraveler - change - 23 Sep 2017
The description was changed
avatar ltraveler ltraveler - edited - 23 Sep 2017
avatar ltraveler ltraveler - change - 23 Sep 2017
The description was changed
avatar ltraveler ltraveler - edited - 23 Sep 2017
avatar ltraveler ltraveler - change - 23 Sep 2017
The description was changed
avatar ltraveler ltraveler - edited - 23 Sep 2017
avatar ltraveler ltraveler - change - 23 Sep 2017
The description was changed
avatar ltraveler ltraveler - edited - 23 Sep 2017
avatar ltraveler ltraveler - change - 23 Sep 2017
The description was changed
avatar ltraveler ltraveler - edited - 23 Sep 2017
avatar ltraveler ltraveler - change - 23 Sep 2017
The description was changed
avatar ltraveler ltraveler - edited - 23 Sep 2017
avatar wojsmol
wojsmol - comment - 23 Sep 2017

Check page source in the browser. I have a case when additional php errors was shown at the bottom of the generated page source.

avatar tonypartridge
tonypartridge - comment - 23 Sep 2017

What version oh PHP are you using? Have you disabled non core plugins?

avatar ltraveler
ltraveler - comment - 23 Sep 2017

I fixed the problem by switching on display_errors parameter in my php.info.
So after that I saw an error:

Fatal error: Call to a member function getTag() on null in ***/libraries/src/Application/SiteApplication.php on line 463

So I disabled cache. But if I am enabling it I am getting at error on my backend:
Unable to load Cache Storage: vmfile

But I need cache. Can you please help me to find the reason of that error?..
In system configuration I can see only one option for handling cache it's "file"

avatar ltraveler
ltraveler - comment - 23 Sep 2017

@tonypartridge the phpvesion is 5.6.29

avatar ltraveler
ltraveler - comment - 23 Sep 2017

If the cache is enabled when I am trying to clean the cache I am getting en error:

500 Could not read the cache data, the configured cache handler is not supported by this environment. Could not read the cache data, the configured cache handler is not supported by this environment. Could not read the cache data, the configured cache handler is not supported by this environment.

avatar ltraveler
ltraveler - comment - 23 Sep 2017

Ok. I changed public $cache_handler = 'vmfile';
to
public $cache_handler = 'file';

and that solved the problem

Looks like some kind of conflict between Virtue Mart and Joomla 3.8

avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Sep 2017
Category Authentication
avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Sep 2017
Priority Medium Critical
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-09-24 05:09:25
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 24 Sep 2017
Priority Critical Medium
Closed_Date 2017-09-24 05:09:25 2017-09-24 05:09:26
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 24 Sep 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 24 Sep 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Sep 2017

closed as Issue solved.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18089.

Add a Comment

Login with GitHub to post a comment