Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Created First Model Class and got the following warnings.


Go to End


1437 Views

Avatar
Naveed

Community Member, 10 Posts

4 April 2016 at 12:17pm

Hi,

I am new to Silverstripe. I am following the Developer documentation pages to learn it. I have created a first class in the mysite/model/Gallary.php and when I used to build it using the following url i.e. http://localhost/mysite/dev/build the got the following warnings i.e.

Warning: array_change_key_case() expects parameter 1 to be array, null given in C:\wamp\www\silverstripe\mysite\framework\core\manifest\ConfigManifest.php on line 288

Warning: Invalid argument supplied for foreach() in C:\wamp\www\silverstripe\mysite\framework\core\manifest\ConfigManifest.php on line 655

In addition, the page is continuously refresh automatically.

I am using the silverstripe 3.3 (stable) version.
Environment Details: WAMP 3.0 (64 bit), PHP 5.6.16, MySQL 5.7.9, Apache 2.4.17

Looking forward for some help on the topic.

Cheers,
Naveed.