?
avatar HLeithner
HLeithner
23 Aug 2017

Steps to reproduce the issue

  • upgrade php to 7.2.0beta3
  • open front or backend page

Expected result

default Joomla Page

Actual result

Error Message:

<br />
<b>Fatal error</b>:  Uncaught Error: Class 'JClassLoader' not found in /web/x/libraries/cms.php:40
Stack trace:
#0 /web/x/includes/framework.php(18): require_once()
#1 /web/x/index.php(40): require_once('/web/x...')
#2 {main}
  thrown in <b>/web/x/libraries/cms.php</b> on line <b>40</b><br />

System information (as much as possible)

  • Apache 2.2
  • PHP 7.2.0beta3
  • Debian Linux 8.8

Additional comments

It look like that the autoloader doesn't work.

avatar HLeithner HLeithner - open - 23 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Aug 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Aug 2017
Category Administration
avatar mbabker
mbabker - comment - 25 Aug 2017

If the autoloader were completely broken our Travis CI builds wouldn't run at all (https://travis-ci.org/joomla/joomla-cms/jobs/268181310 is the last build for staging on PHP 7.2 as of this moment). So I don't think there's a fatal error in the autoloader, meaning there could be an issue with the local environment at play here.

avatar HLeithner
HLeithner - comment - 25 Aug 2017

hmm, ok I will check this.

avatar mbabker
mbabker - comment - 25 Aug 2017

FWIW I did try installing PHP 7.2 this morning but ran into a whole boatload of issues with my MacBook's Homebrew install so I had to give it up to come in to work. But I think I got those issues resolved so over the weekend I can give it a fresh try and see if I can replicate the issue too.

avatar mbabker
mbabker - comment - 26 Aug 2017

I did get PHP 7.2.0beta2 installed (latest version in Homebrew, there's still an open PR to get the latest beta published in that repo) and I couldn't duplicate the issue. The autoloader worked as expected.

avatar HLeithner
HLeithner - comment - 26 Aug 2017

I test phpmyadmin on the same host and it seam to works fine, also phpinfo() looks ok.

I will do more tests on monday.

avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Aug 2017
Status New Discussion
avatar mbabker
mbabker - comment - 4 Sep 2017

We haven't seen an issue like this on CI builds and I've been doing some local tests without running into this. So closing for now as non-reproducible. If we do end up running into a scenario where it is reproduced, we can always reopen this.

avatar mbabker mbabker - change - 4 Sep 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-09-04 02:39:57
Closed_By mbabker
avatar mbabker mbabker - close - 4 Sep 2017

Add a Comment

Login with GitHub to post a comment