philsturgeon / ee2-widgets

Widgets is a ExpressionEngine 2.1 module that allows even your least experienced client or to manage chunks of intelligent content on there site without needing to learn loads of tags, HTML or call you in to help.
http://devot-ee.com/add-ons/widgets
18 stars 13 forks source link

Errors w/ PHP 5.4.4 #4

Open mmikkel opened 11 years ago

mmikkel commented 11 years ago

Hello,

Edit: I rolled back from PHP 5.4.4 to 5.3.14, and the errors doesn't appear.

I'm getting the following PHP errors on the main Widgets admin page:

A PHP Error was encountered Severity: Warning Message: Creating default object from empty value Filename: widgets/mcp.widgets.php Line Number: 44 A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at /codeigniter/system/core/Exceptions.php:170) Filename: core/Common.php Line Number: 412

Also, whenever I save or delete something - a widget area, an actual widget etc. - I get the following, which seems related:

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: widgets/mcp.widgets.php

Line Number: 44

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 806

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php

Line Number: 402

My EE installation has a custom path for /system - could this be the reason for this bug?

chris-hall-hu commented 10 years ago

This should be fix now in a slight modification I made in my fork https://github.com/chris-hall-hu/ee2-widgets the change is in this pull request. https://github.com/philsturgeon/ee2-widgets/pull/13