Bolt: Getting blank screen after upgrading to 2.2beta -


i'm getting blank screen when trying access parts of site (back , front). here's error log:

php catchable fatal error:  argument 1 passed bolt\\content::setvalues() must of type array, null given, called in /var/www/html/feral/src/content.php on line 410 , defined in /var/www/html/feral/src/content.php on line 245, referer: http://localhost/feral/ 

here's config.yml theme:

templatefields:     templates/home.twig:         subheading:             type: text         feature_section_heading:             type: text         feature_section_text:             type: textarea 

in /src/content.php, line 406, change:

if ($unserdata !== false) { 

to:

if ($unserdata !== false && is_array($unserdata)) { 

i can't reproduce yet, untested..


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -