Wave: images problem / storage folder / Config Theme -> 500 Server Error

bjorn-runaker

Jul 29th, 2019 10:44 AM

Probably some set up problem. Some images are not shown. Admin icon etc. Looking in JavaScript console: GET http://192.168.1.189/storage/settings/March2018/a1benhFYD9IhEgrKEL4n.png settings:314 403 (Forbidden) ... I have made sure the storage folder is writable by Apache process, but no files are created there.

Clicking on configure theme, results in 500 Server Error. What can be the problem?

Login

bjorn-runaker

Jul 29th, 2019 11:46 AM

Turned on Debug, and this is the source of 500 Server Error: "Undefined property: stdClass::$id (View: /var/www/aiportal/vendor/tcg/voyager/resources/views/formfields/image.blade.php) (View: /var/www/aiportal/vendor/tcg/voyager/resources/views/formfields/image.blade.php) (View: /var/www/aiportal/vendor/tcg/voyager/resources/views/formfields/image.blade.php)

cookie

Jul 29th, 2019 02:38 PM

  1. Open /wave/src/Helpers/global.php
  2. replace $dataTypeContent = (object)[$key => $content]; (Line 8?)
  3. with $dataTypeContent = (object)["id" => 0, $key => $content];
  4. Enjoy! =)