Cannot use object of type stdClass as array

Permalink 1 user found helpful
Does anyone have any experience of this error at all? My website is displaying fine, and all pages except my home page are editable. Clicking to edit the home page resorts in "Cannot use object of type stdClass as array"

Using Supermint theme

GuiseleySchool
 
ramonleenders replied on at Permalink Reply
ramonleenders
On what line does this error show? You are probably doing something like:

$variable['test']

where it should be

$variable->test

But you'd have to know which file.
GuiseleySchool replied on at Permalink Reply 1 Attachment
GuiseleySchool
hey!
I just get this message (attached)
ramonleenders replied on at Permalink Best Answer Reply
ramonleenders
Go to /application/config on your FTP (or your windows folder). Add a file called concrete.php if it doesn't exist yet. Paste this contents in:

<?php
return [
'debug' => [
'display_errors' => true,
'detail' => 'debug',
],
];

If it does exist, add the 'debug' part into the existing array.
GuiseleySchool replied on at Permalink Reply
GuiseleySchool
You Sir are a god amongst men. It was an error caused by a plug in called Owl Carousel. Had a few problems with it before actually. All back to normal now, thanks very much
ramonleenders replied on at Permalink Reply
ramonleenders
Great! If it's an issue with the Add-On, perhaps add a support ticket for it for the developer to fix? If it is an issue caused by someone else, who installed this Add-On, never mind haha :D