Module, Plugin

Developer
Supported

Rest

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Phil Sturgeon

     

You must be logged in to post.

Fatal PHP error on EE2.6.0

Support Request

Zack Morgan
Zack Morgan

Hi,

I just installed Rest and get this error when I visit the module’s CP page:

Fatal error: Cannot use object of type stdClass as array in /home/public_html/system/expressionengine/core/EE_Loader.php on line 53

Can anyone suggest how I might fix this?

komtur
# 1
komtur

Hi,

I got the same issue on a blank EE 2.6.1 installtion with this plugin installed. Anyone any idea?

Zack Morgan
# 2
Zack Morgan

I am finding that the template tags work fine - just the module page is broken. Would be nice to find a fix, though.

o4
# 3
o4

I get the same error… sniff!

philsturgeon
# 4
Developer
philsturgeon

Thankfully somebody sent a pull request, it just needed to be typecast to an array, but this works too:

https://github.com/philsturgeon/ee2-rest/commit/eddcae8d57e11b8fd80b811e0595608f895a478b

I’ll get a release tagged shortly.