Bug #22906 Duplicate

Fatal error: Uncaught Error: [] operator not supported for strings in /home/forge/MYSITENAME/system/ee/legacy/core/Config.php:1584 Stack trace: #0

Version: 3.3.0 Reporter: lnorwood

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

When I try to access /admin.php?/cp/settings/general I receive this error:

Fatal error: Uncaught Error: [] operator not supported for strings in /home/forge/MYSITENAME/system/ee/legacy/core/Config.php:1584 Stack trace: #0

I recently had to set up a new server and Forge provisioned one using PHP7.1 instead of my previous server which used 7.0. Is this the issue? Is there any work around? I need to set my email server configs up again and need to enter that info there/

  • Duplicate of #22777 PHP 7.1 General Settings page throws a ‘Uncaught Error: [] operator not supported for strings’ error., which has been fixed in the released code. You will need to update to the latest version to get PHP 7.1 compatibility.

    Derek Jones
    24th January, 2017 at 5:42pm
  • Thank you. I have tried this but I purcahsed my EE version 3.3 on Ellislab. Since that has now been switched over to the ExpressionEngine sites it doesn’t show that I can update to 3.5. Any ideas?

    24th January, 2017 at 5:44pm
  • Make sure you are logged in with the account that you purchased the license with. If you need assistance looking it up or are having problems with your account, just drop us an email at team@ellislab.com and we’ll get you sorted!

    Derek Jones
    24th January, 2017 at 5:46pm
  • I got it figured out! Thank you so much for your quick response.

    24th January, 2017 at 5:47pm
  • No problem, glad you got it sorted!

    Derek Jones
    24th January, 2017 at 5:48pm
  • Oh ran into some. In the docs I see this:

    “2. Copy Files Working either locally with your backed up files, or on the server (not recommended), copy the following files from the newly downloaded release to your site:

    Copy system/ee/ to system/ee/ Copy themes/ee/ to themes/ee/”

    Am I replacing all files in my existing sites system/ee/ & themes/ee/ folders or should I merge them?

    24th January, 2017 at 5:49pm
  • Backup and replace both system/ee and themes/ee.

    Derek Jones
    24th January, 2017 at 5:52pm
  • Exception Caught

    SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘MemberGroup_member_groups.menu_set_id’ in ‘field list’: SELECT MemberGroup_member_groups.group_id as MemberGroup__group_id, MemberGroup_member_groups.site_id as …… etc

    Stack Trace: hide details

    0 ee/legacy/database/drivers/mysqli/mysqli_driver.php(137): CI_DB_mysqli_connection->query(‘SELECT MemberGr…’)

    1 ee/legacy/database/DB_driver.php(297): CI_DB_mysqli_driver->_execute(‘SELECT MemberGr…’)

    2 ee/legacy/database/DB_driver.php(203): CI_DB_driver->simple_query(‘SELECT MemberGr…’)

    3 ee/legacy/database/DB_active_rec.php(1206): CI_DB_driver->query(‘SELECT MemberGr…’)

    4 ee/EllisLab/ExpressionEngine/Service/Model/Query/Select.php(45): CI_DB_active_record->get()

    5 ee/EllisLab/ExpressionEngine/Service/Model/DataStore.php(294): EllisLab\ExpressionEngine\Service\Model\Query\Select->run()

    6 ee/EllisLab/ExpressionEngine/Service/Model/DataStore.php(240): EllisLab\ExpressionEngine\Service\Model\DataStore->runQuery(‘Select’, Object(EllisLab\ExpressionEngine\Service\Model\Query\Builder))

    7 ee/EllisLab/ExpressionEngine/Service/Model/Query/Builder.php(156): EllisLab\ExpressionEngine\Service\Model\DataStore->selectQuery(Object(EllisLab\ExpressionEngine\Service\Model\Query\Builder))

    8 ee/EllisLab/ExpressionEngine/Service/Model/Query/Builder.php(67): EllisLab\ExpressionEngine\Service\Model\Query\Builder->fetch()

    9 ee/EllisLab/ExpressionEngine/Model/Member/Member.php(352): EllisLab\ExpressionEngine\Service\Model\Query\Builder->first()

    10 ee/legacy/libraries/Cp.php(117): EllisLab\ExpressionEngine\Model\Member\Member->getCPHomepageURL()

    11 ee/legacy/libraries/Core.php(487): Cp->set_default_view_variables()

    12 ee/legacy/core/Controller.php(120): EE_Core->run_cp()

    13 ee/legacy/controllers/cp/login.php(34): CP_Controller->__construct()

    14 ee/EllisLab/ExpressionEngine/Core/Core.php(187): Login->__construct()

    15 ee/EllisLab/ExpressionEngine/Core/Core.php(94): EllisLab\ExpressionEngine\Core\Core->runController(Array)

    16 ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))

    17 public_html/admin.php(143): require_once(‘…’)

    17 public_html/admin.php(143): require_once(‘…’)

    24th January, 2017 at 6:03pm
  • It sounds like you did not run the update wizard after replacing the files?

    Derek Jones
    24th January, 2017 at 6:34pm
  • I ran the update wizard locally and everthing worked, but this is the error I get when trying to login to the CP of my production server. I can’t even see the update wizard.

    25th January, 2017 at 9:04am
  • It sounds like you may have updated the files on production but not the database. Unless you have a local to production deployment in place for your MySQL database, you will need to run the update wizard on the production server, by performing all of the update steps in that environment.

    In any case, we are way off topic at this point and cannot provide support in the bug tracker; if you need assistance just drop in a support ticket and we’d be happy to get you going!

    Derek Jones
    25th January, 2017 at 9:34am
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases