Skip to content

Shlink.ERROR - Error: Typed property Shlinkio\Shlink\Core\ShortUrl\Entity\ShortUrl::$deviceLongUrls must not be accessed before initialization in /var/www/shlink/module/Core/src/ShortUrl/Entity/ShortUrl.php:338 #155

Discussion options

You must be logged in to vote

Do you have other running Shlink instances in the same server? From older versions?

No. Only one running instance at once. I always stop the nginx server before attempting the upgrade.

Executing /etc/init.d/php8.1-fpm restart cleared the cache and worked around the issue.

Replies: 0 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by acelaya
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Shlink Discussions related with https://github.com/shlinkio/shlink
3 participants