E107: Object of class core_index_index_controller could not be converted to string

Created on 25 Jun 2020  路  11Comments  路  Source: e107inc/e107

Bug Description

Fatal error: Uncaught Error: Object of class core_index_index_controller could not be converted to string in e107_handlers/application.php:4061 Stack trace:
#0 e107_handlers/application.php(3007): eResponse->appendBody(Object(core_index_index_controller))
#1 e107_handlers/application.php(3055): eController->addBody(Object(core_index_index_controller))
#2 e107_handlers/application.php(569): eController->dispatch('actionIndex')
#3 e107_handlers/application.php(370): eDispatcher->dispatch(Object(eRequest), Object(eResponse))
#4 e107_handlers/application.php(417): eFront->dispatch()
#5 index.php(81): eFront->run()
#6 {main} thrown in e107_handlers/application.php on line 4061

How to Reproduce

Steps to reproduce the behavior:

  1. install on php 7.4
  2. go to fronted
  3. See error

Server Information

PHP Operating System

Linux cpanel.nuftp.com 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

PHP Version

PHP Version 7.4.7

testing required bug

All 11 comments

Hello @GaneshKandu !
Thank you for posting this issue. So far, I am unable to reproduce it.
Could you please confirm that you're using the Github version of e107. ie. v2.3.0 (git) ?

Hi @CaMer0n

I am using 2.2.1

also getting same error in v2.3.0 (git)

@GaneshKandu can you please try with the latest files from GitHub? These files will soon be published as the 2.3.0 release

I'll do some testing and get back to you

sure
some extra info.

``
Fatal error: Uncaught Error: Object of class core_index_index_controller could not be converted to string in e107_handlers/application.php:4083
Stack trace:

0 e107_handlers/application.php(3012): eResponse->appendBody(Object(core_index_index_controller))

1 e107_handlers/application.php(3060): eController->addBody(Object(core_index_index_controller))

2 e107_handlers/application.php(572): eController->dispatch('actionIndex')

3 e107_handlers/application.php(373): eDispatcher->dispatch(Object(eRequest), Object(eResponse))

4 e107_handlers/application.php(420): eFront->dispatch()

5 index.php(81): eFront->run()

6 {main}

thrown in e107_handlers/application.php on line 4083
``

Just did a fresh installation with the files from Github on PHP 7.4.7 and no issues so far.

@Deltik Any idea?

@GaneshKandu I was able to reproduce it. Working on it.

@GaneshKandu It should be fixed now in the latest github version.

@CaMer0n Thanks ! working now

Was this page helpful?
0 / 5 - 0 ratings