You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed here in some setups (?) clearing cache with php flarum cache:clear breaks the forum.
The boot exception is:
Argument 1 passed to Flarum\Mentions\Formatter\FormatPostMentions::__invoke() must be an instance of s9e\TextFormatter\Renderer, instance of __PHP_Incomplete_Class given, called in /usr/local/openresty/nginx/html/flarum16/vendor/flarum/core/src/Foundation/ContainerUtil.php on line 30
Removing everything in storage/cache fixes the issue, until next time.
__PHP_Incomplete_Class would indicate an autoloading issue, I assume with the class generated for the renderer. So either the SPL autoloader wasn't set or the file was missing when the object was unserialized.
Bug Report
Current Behavior
As discussed here in some setups (?) clearing cache with
php flarum cache:clear
breaks the forum.The boot exception is:
Removing everything in
storage/cache
fixes the issue, until next time.Environment
The text was updated successfully, but these errors were encountered: