Skip to content

[5.x]: Typed property craft\widgets\QuickPost::$entryType must not be accessed before initialization #14794

@d13creative

Description

@d13creative

What happened?

Description

The dashboard home page is not accessible due to this error after upgrading from Craft 4 Solo to Craft 5.

This project has been upgraded several times from version 2 -> 3 -> 4 over the years

Steps to reproduce

  1. Upgrade from Craft 4 to Craft 5
  2. Added bootstrap.php to root
  3. Updated craft file in root
  4. Updated index.php in webroot
  5. Initially had an error saying there was an issue with a cookie which was resolved by adding a security key using php craft setup/security-key

Expected behavior

The dashboard should be accessible

Actual behavior

It throws an internal server error on the dashboard page. The front end is fully functional as is the rest of the backend (e.g. entries, assets etc.).
Screenshot 2024-04-11 at 13 07 54

Craft CMS version

Craft Solo 5.0.4

PHP version

8.2

Operating system and version

Ubuntu 22.04

Database type and version

MariaDB 10.11.7

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

CKEditor 4.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions