CE Tweet
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Causing Effect
PHP Error (notice) “Array to string conversion”
General (Resolved)
breella
|
Posted: 04 January 2013 05:27 PM |
|
|
|
Hello!
Just installed CE Tweet, in the Fieldtypes section of EE. Clicked on “CE Tweet” in the list of Fieldtype Names and was taken to the CE Tweet settings page (where I can set Maximum search results number). At the top of the page EE report the following error/notice:
A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: helpers/form_helper.php
Line Number: 172
Sounds like a simple bug which can be easily fixed! It isn’t a show stopper I don’t think, but then I’ve only just begun to use the add-on.
:)
|
|
|
Causing Effect - Aaron Waldon
|
Posted: 07 January 2013 04:03 AM |
# 1
|
|
Developer
|
Hi breella!
The helpers/form_helper file is actually a core class, but it is possible that something changed that is causing that error. Thanks for letting me know. Can you please tell me which versions of EE, CE Tweet, and PHP you are using?
|
|
|
Causing Effect - Aaron Waldon
|
Posted: 11 January 2013 06:13 AM |
# 2
|
|
Developer
|
Do you have any more information about this breella? Where you able to get this sorted out? I have not heard about this bug from anyone else (yet), so it would be a big help to me if you could get me the requested info. :)
|
|
|
Dom & Tom, Inc
|
Posted: 15 January 2013 04:22 PM |
# 3
|
|
|
Aaron, it’s most likely a PHP 5.4 exclusive bug. I’ve run into something like that error numerous times when using PHP 5.4.
|
|
|
Causing Effect - Aaron Waldon
|
Posted: 18 January 2013 04:22 AM |
# 4
|
|
Developer
|
Hi Dom & Tom, Inc!
I think you are correct on that. I recently ran into this with another add-on too. I’m guessing it’s this issue: Converting an array to a string will now generate an E_NOTICE level error, but the result of the cast will still be the string “Array”.
from the PHP 5.4 Backward Incompatibilities page.
|
|
|
petenice
|
Posted: 18 October 2016 06:44 PM |
# 5
|
|
|
I’m hitting this same error. Any suggestions on how to remedy?
A PHP Error was encountered
Severity: Notice
Message: Array to string conversion
Filename: helpers/form_helper.php
Line Number: 172
ExpressionEngine v2.11.1
PHP 5.4.34
|
|
|