500 error

Website URL

eurolegal.epizy.com

Error Message

Fatal error: Uncaught ArgumentCountError: Override::__construct() expects exactly 0 arguments, 1 given in /home/vol11_7/epizy.com/epiz_24298927/htdocs/e107_handlers/e107_class.php:1153 Stack trace: #0 /home/vol11_7/epizy.com/epiz_24298927/htdocs/e107_handlers/e107_class.php(1153): Override->__construct(NULL) #1 /home/vol11_7/epizy.com/epiz_24298927/htdocs/class2.php(643): e107::getSingleton(‘override’) #2 /home/vol11_7/epizy.com/epiz_24298927/htdocs/index.php(58): require_once(‘/home/vol11_7/e…’) #3 {main} thrown in /home/vol11_7/epizy.com/epiz_24298927/htdocs/e107_handlers/e107_class.php on line 1153

Other Information

(other information and details relevant to your question)

somewhere in your PHP you’ve called __construct() with an argument, when its not ment to have any arguments.

Roughly speaking its in e107_class.php on line 1153 (give or take a few lines)

1 Like

Looking at the code paths, I suspect you’re running the e107 CMS?

I think the issue you’re having is caused by our upgrade from PHP 8.2 to 8.3 this week.

The latest version of e107 was released in 2023, and according to the official announcement, it is only tested with PHP versions up to 8.2, so not 8.3. Looking at the source code repositories, it seems that some work has been done to make it compatible with PHP 8.3, but no version has been released yet that includes these changes.

So I think the latest version of e107 just doesn’t work on PHP 8.3.

At this point, I think there are a few options moving forward (but all of them unattractive):

  • See if you can run e107 with a development build, for example this one: https://github.com/e107inc/e107/archive/master.zip
  • Migrate to premium hosting, where you can configure the PHP version of your account, which means you can choose PHP 8.2 for your account.
  • Switch to a different CMS that’s more actively maintained and does support the latest PHP versions.
6 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.