Ignore Content

Ignore Content [Paid] 4.0.6

No permission to buy ($30.00)
I'm on Xenforo 2.3 and just purchased an upgrade to 3.3.2. I had my earlier version disabled, and so I uploaded the new file, ran the install and I got the errors below. I did not tick the box saying Overwrite earlier files.

Should I have ticked it? What do I do now?

Code:
ErrorException: [E_WARNING] Undefined array key "tl_IgnoreContent_cacheProvider" in src/addons/Truonglv/IgnoreContent/App.php at line 44
XF::handlePhpError() in src/addons/Truonglv/IgnoreContent/App.php at line 44
Truonglv\IgnoreContent\App::cache() in src/addons/Truonglv/IgnoreContent/Repository/Ignore.php at line 341
Truonglv\IgnoreContent\Repository\Ignore->rebuildCacheForUserId() in src/addons/Truonglv/IgnoreContent/Repository/Ignore.php at line 326
Truonglv\IgnoreContent\Repository\Ignore->rebuildCacheForUser() in src/addons/Truonglv/IgnoreContent/Job/RebuildCache.php at line 38
Truonglv\IgnoreContent\Job\RebuildCache->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 42
XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 275
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 205
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 121
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/ToolsController.php at line 146
XF\Admin\Controller\ToolsController->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2777
XF\App->run() in src/XF.php at line 798
XF::runApp() in admin.php at line 15

Edit: I refreshed the addons page, and then it asked if I wanted to upgrade. I clicked that button, it did some importing, and then showed in the addons list. So, I looked at my site page and the site content was gone and I just saw the text below. Does I need to click Rebuild or something? Or is it that Overwrite textbox issue?

Code:
Error: Interface "Doctrine\Common\Cache\Cache" not found in src/addons/Truonglv/IgnoreContent/Cache/CacheProvider.php at line 9
include() in src/vendor/composer/ClassLoader.php at line 576
Composer\Autoload\{closure}() in src/vendor/composer/ClassLoader.php at line 427
Composer\Autoload\ClassLoader->loadClass() in src/addons/Truonglv/IgnoreContent/Cache/Database.php at line 7
include() in src/vendor/composer/ClassLoader.php at line 576
Composer\Autoload\{closure}() in src/vendor/composer/ClassLoader.php at line 427
Composer\Autoload\ClassLoader->loadClass() in src/addons/Truonglv/IgnoreContent/App.php at line 47
Truonglv\IgnoreContent\App::cache() in src/addons/Truonglv/IgnoreContent/Repository/Ignore.php at line 317
Truonglv\IgnoreContent\Repository\Ignore->getIgnoreCache() in src/addons/Truonglv/IgnoreContent/App.php at line 33
Truonglv\IgnoreContent\App::isIgnored() in src/addons/Truonglv/IgnoreContent/Ignore/Thread.php at line 183
Truonglv\IgnoreContent\Ignore\Thread->isIgnoredContent() in src/addons/Truonglv/IgnoreContent/Ignore/AbstractHandler.php at line 156
Truonglv\IgnoreContent\Ignore\AbstractHandler->isIgnored() in src/addons/Truonglv/IgnoreContent/Entity/IgnoreTrait.php at line 31
Truonglv\IgnoreContent\XF\Entity\Thread->ticIsIgnored() in src/addons/Truonglv/IgnoreContent/XF/Entity/Thread.php at line 35
Truonglv\IgnoreContent\XF\Entity\Thread->isIgnored() in src/addons/Truonglv/IgnoreContent/XF/Entity/Forum.php at line 58
Truonglv\IgnoreContent\XF\Entity\Forum->isUnread() in src/XF/Entity/Forum.php at line 449
XF\Entity\Forum->getNodeListExtras() in src/XF/Entity/Node.php at line 92
XF\Entity\Node->getNodeListExtras() in src/XF/Repository/NodeRepository.php at line 236
XF\Repository\NodeRepository->XF\Repository\{closure}() in src/XF/Repository/NodeRepository.php at line 233
XF\Repository\NodeRepository->XF\Repository\{closure}() in src/XF/Repository/NodeRepository.php at line 244
XF\Repository\NodeRepository->getNodeListExtras() in src/XF/Pub/Controller/ForumController.php at line 84
XF\Pub\Controller\ForumController->actionList() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2777
XF\App->run() in src/XF.php at line 798
XF::runApp() in index.php at line 23
 
Last edited:
I just installed the new version of Ignore Content after an upgrade to XF2.3 -
seems to be working - I did use the overwrite option.
 
I just installed the new version of Ignore Content after an upgrade to XF2.3 -
seems to be working - I did use the overwrite option.
I uninstalled it, then it gave me an option to install it, but had no Overwrite option. I installed it. It broke my forum again.

So I tried the Delete all files option, and reinstalled. It broke the site again. See errors below.

I am using php 8.2. Could it be that?

1721383695390.webp
 
Last edited:
What cache provider do you have selected in ACP > Options > [tl] Ignore Content ?
Try 'Stored in database' if 'XenForo cache setup' was selected.

Might be a problem with Redis not working.

You could also try:
ACP > Tools > Rebuild caches > [tl] Ignore Content: Rebuild ignore cache
 
What cache provider do you have selected in ACP > Options > [tl] Ignore Content ?
Try 'Stored in database' if 'XenForo cache setup' was selected.

Might be a problem with Redis not working.

You could also try:
ACP > Tools > Rebuild caches > [tl] Ignore Content: Rebuild ignore cache
Tried both, still get the errors.

Maybe the author of the addon can see what might be the issue looking at the error screenshots above.

Is Redis essential? Thought that was just a performance thing.
 
'Stored in database' is fine, then you don't need Redis cache.
I had a situation where I selected 'XenForo cache setup' and got a similar error message as you but that was because Redis cache was not running.

Did you already try contacting @truonglv at https://nobita.me/ ?
 
'Stored in database' is fine, then you don't need Redis cache.
I had a situation where I selected 'XenForo cache setup' and got a similar error message as you but that was because Redis cache was not running.

Did you already try contacting @truonglv at https://nobita.me/ ?
I got it working now. Uninstalled, deleted directories using cpanel. Not tried the functionality but assuming it all works ok since I don't get the errors anymore. Maybe some permissions thing at the host, who knows,
 
By the way, great plugin. Several of my users find it essential to cut out the noise from the main forum theme. e.g. Hide the Watercooler section when it is a programming forum.
 
Same here. I just upgraded to XF 2.3 and installed the latest version of this add-on.
Members complain that topics they ignored show up again in what's new.

If they try to ignore it again, they get the message that the topic is already ignored.

@truonglv

Update: I did a rebuild of the Ignore cache. This probably solved the problem.
 
Last edited:
Same here. I just upgraded to XF 2.3 and installed the latest version of this add-on.
Members complain that topics they ignored show up again in what's new.

If they try to ignore it again, they get the message that the topic is already ignored.

@truonglv

Update: I did a rebuild of the Ignore cache. This probably solved the problem.
I changed settings, save to database and it solved.
 
Back
Top Bottom