View Issue Details

IDProjectCategoryView StatusLast Update
0004643Composr alpha bug reports[All Projects] General / Uncategorisedpublic2021-04-20 03:33
ReporterAdam EdingtonAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Summary0004643: v11 Installer
DescriptionLocalhost install error when accessing install.php
Fatal error: Uncaught TypeError: Return value of object_factory() must be an instance of object or null, instance of LangFilter_EN returned in install.php:2670 Stack trace: #0 sources\lang.php(93): object_factory('LangFilter_EN') #1 install.php(2652): init__lang() 0000002 install.php(98): require_code('lang') 0000003 {main} thrown in install.php on line 2670
TagsNo tags attached.
Sponsorship open

Activities

Chris Graham

2021-04-19 16:27

administrator   ~0007073

I think this is an issue on PHP 7.1. It looks like we need to change the object type hint to stdClass.

Adam Edington

2021-04-19 19:29

administrator   ~0007074

Yeah it's a PHP 7.1 install attempt, haven't upgraded localhost in a while.

Chris Graham

2021-04-19 20:34

administrator   ~0007076

Minimum version is going up to PHP 7.2, as the stdClass workaround I posted isn't real, and I don't want to degrade our use of type hinting.

Adam Edington

2021-04-20 03:33

administrator   ~0007077

Alright :)

Issue History

Date Modified Username Field Change
2021-04-18 23:07 Adam Edington New Issue
2021-04-18 23:07 Adam Edington Status non-assigned => assigned
2021-04-18 23:07 Adam Edington Assigned To => Chris Graham
2021-04-19 16:27 Chris Graham Note Added: 0007073
2021-04-19 19:29 Adam Edington Note Added: 0007074
2021-04-19 20:34 Chris Graham Status assigned => resolved
2021-04-19 20:34 Chris Graham Resolution open => fixed
2021-04-19 20:34 Chris Graham Note Added: 0007076
2021-04-20 03:33 Adam Edington Note Added: 0007077
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised