[MMO] Hide Bb-Code Content System

[MMO] Hide Bb-Code Content System 2.3.12

No permission to download
@kick Hi there, when I enable the plugin (version 2.3.10), the /help/bb-codes/ page shows



I also get server error logs in xenforo admin



As soon as I disable the plugin, I can view the /help/bb-codes/ page and the errors no longer occur. I'm using Xenforo 2.3.13.
The cause is a library conflict. The add-on parses HIDE expressions with Symfony ExpressionLanguage, which by default creates a cache object from symfony/cache. That class is always loaded from XenForo's own src/vendor (version 5.4), and it only works with psr/cache 1.x, which XenForo also ships. On your site a newer psr/cache (3.x) is being loaded instead, and PHP stops with the fatal error you see.

On a clean XenForo 2.3.13 this does not happen, so most likely another add-on on your forum bundles its own vendor folder with psr/cache 3.x. The /help/bb-codes/ page is just the first place where a HIDE expression gets parsed.
 
kick updated [MMO] Hide Bb-Code Content System with a new update entry:

2.3.12

PHP 8.3.0+ is now required
Fixed:
  • Fatal error "Declaration of Symfony\Component\Cache\CacheItem::get() must be compatible with Psr\Cache\CacheItemInterface::get(): mixed" on /help/bb-codes/ and in messages with HIDE expressions, when another add-on loads a newer psr/cache. The add-on no longer uses symfony/cache.
  • Forum-wide hide expiration did not trigger with [MMO] Core Library 2.3.2.
Added:
  • "Why hidden?" now works for any content with hide blocks, not only...

Read the rest of this update entry...
 
Back
Top Bottom