View Issue Details

IDProjectCategoryView StatusLast Update
4643Composr alpha bug reportsGeneral / Uncategorisedpublic2021-04-20 03:33
ReporterAdam Edington Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary4643: 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() 2 install.php(98): require_code('lang') 3 {main} thrown in install.php on line 2670
TagsNo tags attached.
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2021-04-19 16:27

administrator   ~7073

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   ~7074

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

Chris Graham

2021-04-19 20:34

administrator   ~7076

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   ~7077

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 Not 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