Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object of class core_index_index_controller could not be converted to string #4203

Closed
GaneshKandu opened this issue Jun 25, 2020 · 11 comments
Closed
Assignees
Labels
status: testing required Someone needs to confirm this issue's existence and write a test to prevent the fix from regressing. type: bug A problem that should not be happening
Milestone

Comments

@GaneshKandu
Copy link

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

@GaneshKandu GaneshKandu added the type: bug A problem that should not be happening label Jun 25, 2020
@CaMer0n
Copy link
Member

CaMer0n commented Jun 26, 2020

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) ?

@CaMer0n CaMer0n added the status: awaiting feedback This issue may be fixed and is awaiting the original poster to confirm the fix. label Jun 26, 2020
@GaneshKandu
Copy link
Author

Hi @CaMer0n

I am using 2.2.1

@GaneshKandu
Copy link
Author

also getting same error in v2.3.0 (git)

@Moc
Copy link
Member

Moc commented Jun 27, 2020

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

@Moc
Copy link
Member

Moc commented Jun 27, 2020

I'll do some testing and get back to you

@GaneshKandu
Copy link
Author

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

@Moc
Copy link
Member

Moc commented Jun 27, 2020

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

@Moc
Copy link
Member

Moc commented Jun 27, 2020

@Deltik Any idea?

@Moc Moc added status: testing required Someone needs to confirm this issue's existence and write a test to prevent the fix from regressing. and removed status: awaiting feedback This issue may be fixed and is awaiting the original poster to confirm the fix. labels Jun 27, 2020
@CaMer0n
Copy link
Member

CaMer0n commented Jun 27, 2020

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

@CaMer0n CaMer0n added this to the e107 2.3.0 milestone Jun 27, 2020
@CaMer0n CaMer0n self-assigned this Jun 27, 2020
@CaMer0n
Copy link
Member

CaMer0n commented Jun 27, 2020

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

@GaneshKandu
Copy link
Author

@CaMer0n Thanks ! working now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: testing required Someone needs to confirm this issue's existence and write a test to prevent the fix from regressing. type: bug A problem that should not be happening
Projects
None yet
Development

No branches or pull requests

3 participants