I installed a new Statamic site using Composer. At first I could access pages and the control panel, then I tried to click something in the Pages in the CP and it threw this error.
Now the site is unresponsive.
The message reads as follows:
FatalThrowableError in ContentFactory.php line 19: Type error: Argument 1 passed to Statamic\Data\Content\ContentFactory::with() must be of the type array, string given, called in /Users/davewilkinson/Documents/Sites/thinkdave/statamic/core/Stache/Drivers/PagesDriver.php on line 38
Any idea what I did wrong?