Fresh install with errors

I just did a fresh install of Fuel CMS on a new server with PHP 7 and on the initial load screen where it gives you the instructions of all the things you have to configure above everything I get the following errors. Any idea what's going on?

A PHP Error was encountered
Severity: Warning

Message: Declaration of MX_Loader::library($library, $params = NULL, $object_name = NULL) should be compatible with CI_Loader::library($library = '', $params = NULL, $object_name = NULL)

Filename: MX/Loader.php

Line Number: 0

A PHP Error was encountered
Severity: Warning

Message: Declaration of MX_Loader::helper($helper) should be compatible with CI_Loader::helper($helpers = Array)

Filename: MX/Loader.php

Line Number: 0

A PHP Error was encountered
Severity: Warning

Message: Declaration of MX_Loader::helpers($helpers) should be compatible with CI_Loader::helpers($helpers = Array)

Filename: MX/Loader.php

Line Number: 0

A PHP Error was encountered
Severity: Warning

Message: Declaration of MX_Loader::language($langfile, $lang = '', $return = false) should be compatible with CI_Loader::language($file = Array, $lang = '')

Filename: MX/Loader.php

Line Number: 0

A PHP Error was encountered
Severity: Warning

Message: Declaration of MX_Loader::_ci_get_component($component) should be compatible with & CI_Loader::_ci_get_component($component)

Filename: MX/Loader.php

Line Number: 0

A PHP Error was encountered
Severity: Warning

Message: Declaration of MX_Lang::load($langfile, $lang = '', $return = false, $_module = NULL) should be compatible with CI_Lang::load($langfile = '', $idiom = '', $return = false, $add_suffix = true, $alt_path = '')

Filename: MX/Lang.php

Line Number: 0

A PHP Error was encountered
Severity: Notice

Message: Only variables should be assigned by reference

Filename: core/Loader.php

Line Number: 657


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor in /var/www/vhosts/pixelguild.com/subdomains/fuel.pixelguild.com/fuel/modules/fuel/helpers/markdown_helper.php on line 193
A PHP Error was encountered
Severity: Notice

Message: Array to string conversion

Filename: libraries/Fuel_navigation.php

Line Number: 248

Comments

  • edited 5:12AM
    fuelcms runs on ci 2.2.1 and ci runs on php 5.x.
  • edited 5:12AM
    Does anyone have any more information about how to go about updating the code for PHP 7?
  • The release version (1.3.1) uses CodeIgniter 2 which does not play well with PHP7.

    The development branch on Github is v1.4 which uses CodeIgniter 3 which is much better with PHP7.

    I guess you either need to use PHP5.6 (side load or replace on your server) or swap to using the development branch
Sign In or Register to comment.