AdBlock Detector Pro

AdBlock Detector Pro [Paid] v2.5.1

No permission to buy ($40.00)
I'm a bit stumped to be honest, because the "Using $this when not in object context" error should be easy to replicate on my end.

Are you able to run the AddOn, or does this message come too frequently? I know you mentioned it comes once on upgrade/install, and each time you run the Demo (guest or user), but otherwise?
 
With all cache disabled. Only this error when addon enabled.

  • Error: Class "MatthiasMullie\Minify\JS" not found
  • src/addons/Wutime/AdBlock/Src/AdBlock.php:365
  • Generated by: Unknown account
  • Aug 27, 2024 at 9:15 AM

Stack trace​

#0 src/addons/Wutime/AdBlock/Src/AdBlock.php(404): Wutime\AdBlock\Src\AdBlock->processScript('/home/jeepcj/pu...')
#1 src/addons/Wutime/AdBlock/Src/AdBlock.php(377): Wutime\AdBlock\Src\AdBlock->getJavaScriptWithLoader()
#2 src/addons/Wutime/AdBlock/Cron/Regenerate.php(36): Wutime\AdBlock\Src\AdBlock->getFinalJavaScript()
#3 src/addons/Wutime/AdBlock/Job/RunRegenerate.php(12): Wutime\AdBlock\Cron\Regenerate::addInstanceOfDetectorToDatabase()
#4 src/XF/Job/Manager.php(260): Wutime\AdBlock\Job\RunRegenerate->run(8)
#5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#7 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 8)
#8 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 cmd.php(15): XF\Cli\Runner->run()
#14 {main}

Request state​

array(1) {
["cli"] => string(54) "/home/jeepcj/public_html/community/cmd.php xf:run-jobs"
}
Delete
 
I'm a bit stumped to be honest, because the "Using $this when not in object context" error should be easy to replicate on my end.

Are you able to run the AddOn, or does this message come too frequently? I know you mentioned it comes once on upgrade/install, and each time you run the Demo (guest or user), but otherwise?
I have it running with cache disabled.
 
Wutime updated AdBlock Detector Pro with a new update entry:

v2.5.0

  • FIX: Tested with xenForo v2.3.4
  • NEW: Improved detection for primary detection method
  • NEW: Added additional surface level check to primary detection method
  • NEW: Added two tested alternatives to the "Remote AdNetwork JavaScript URL" option
  • NEW: Added validateUrlJavaScript() to ensure the provided URL is valid and a JavaScript file
  • NEW: Improved detection with recent FireFox release

Read the rest of this update entry...
 
Hang on. I may have done something stupid....

1732026145653.webp

The version at the top of the download list has a very similar version number as the latest one at the bottom! haha

Got the 2.5.0 version now. All sorted!
 
I've done that before. Its discalculous with numbers. Same thing though. I'm terrible for taking customer credit cards I have to write it down first then hang up then try and even get staff check before I get staff ring them.

9955 or 5599 I can see as opposite seems to be 9 and 5 I have issues with lol
 
I have a problem, your Addon [Wutime] AdBlock Detection Pro 2.5.0 doesn't work Under Xenforo 2.3.4

The addon gives me two errors

First error

Code:
Template error: [E_USER_WARNING] Function wutime_adblock_explode_newlines is unknown
22 minutes ago src/XF/Template/Templater.php:1198


Logs

Server error log
Clear
Template error: [E_USER_WARNING] Function wutime_adblock_explode_newlines is unknown

23 minutes ago src/XF/Template/Templater.php:1198

   
Template error: [E_USER_WARNING] Function wutime_adblock_explode_newlines is unknown

23 minutes ago src/XF/Template/Templater.php:1198

   
Showing all items
Log out

    Anti-spam by CleanTalk for Xenforo!
    Community platform by XenForo® v2.3.4 English (US)

Server error log

    ErrorException: Template error: [E_USER_WARNING] Function wutime_adblock_explode_newlines is unknown src/XF/Template/Templater.php:1198

    Generated by: Unknown account Nov 20, 2024 at 11:18 AM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/yfzdchwe/...', 1198)
#1 src/XF/Template/Templater.php(1198): trigger_error('Function wutime...', 512)
#2 internal_data/code_cache/templates/l2/s130/public/wutime_adblock_page_container_injection.php(10): XF\Template\Templater->func('wutime_adblock_...', Array, false)
#3 src/XF/Template/Templater.php(1800): XF\Template\Templater->{closure}(Object(CleanTalk\XF\Template\Templater), Array, NULL)
#4 src/addons/CleanTalk/XF/Template/Templater.php(105): XF\Template\Templater->renderTemplate('wutime_adblock_...', Array, true, NULL)
#5 src/XF/Template/Templater.php(1874): CleanTalk\XF\Template\Templater->renderTemplate('public:wutime_a...', Array)
#6 internal_data/code_cache/templates/l2/s130/public/PAGE_CONTAINER.php(1603): XF\Template\Templater->includeTemplate('public:wutime_a...', Array)
#7 src/XF/Template/Templater.php(1800): XF\Template\Templater->{closure}(Object(CleanTalk\XF\Template\Templater), Array, NULL)
#8 src/addons/CleanTalk/XF/Template/Templater.php(105): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array, true, NULL)
#9 src/XF/Pub/App.php(621): CleanTalk\XF\Template\Templater->renderTemplate('public:PAGE_CON...', Array)
#10 src/XF/App.php(2573): XF\Pub\App->renderPageHtml('
   
...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#11 src/XF/Mvc/Dispatcher.php(414): XF\App->renderPage('
   
...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#12 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#14 src/XF.php(806): XF\App->run()
#15 index.php(23): XF::runApp('XF\\Pub\\App')
#16 {main}

Request state

array(4) {
  ["url"] => string(61) "/threads/elimination-du-troyen-hacktool-win32-crack-pz.28020/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}


Second error

Code:
Server error log

ErrorException: Template error: [E_USER_WARNING] Function wutime_adblock_explode_newlines is unknown src/XF/Template/Templater.php:1198

Generated by: Unknown account Nov 20, 2024 at 11:18 AM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/yfzdchwe/...', 1198)
#1 src/XF/Template/Templater.php(1198): trigger_error('Function wutime...', 512)
#2 internal_data/code_cache/templates/l2/s130/public/PAGE_CONTAINER.php(1602): XF\Template\Templater->func('wutime_adblock_...', Array, false)
#3 src/XF/Template/Templater.php(1800): XF\Template\Templater->{closure}(Object(CleanTalk\XF\Template\Templater), Array, NULL)
#4 src/addons/CleanTalk/XF/Template/Templater.php(105): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array, true, NULL)
#5 src/XF/Pub/App.php(621): CleanTalk\XF\Template\Templater->renderTemplate('public:PAGE_CON...', Array)
#6 src/XF/App.php(2573): XF\Pub\App->renderPageHtml('


...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#7 src/XF/Mvc/Dispatcher.php(414): XF\App->renderPage('


...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#10 src/XF.php(806): XF\App->run()
#11 index.php(23): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state

array(4) {
  ["url"] => string(61) "/threads/elimination-du-troyen-hacktool-win32-crack-pz.28020/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
I finally get rid of these two errors, but Adblock Pro is not working at all with ublock origin even after launch your changes live

erreur.webp
 
I have a problem, your Addon [Wutime] AdBlock Detection Pro 2.5.0 doesn't work Under Xenforo 2.3.4

The addon gives me two errors
The add-on works with v2.3.4 and v2.5.0; I specifically tested it with such.

You say "you fixed the errors", but I don't see how. That function does exist and perhaps the error only appeared once? During install on a live forum it's possible to appear during install, but should NOT be a repetitive error post install. Can you confirm?
 
I finally get rid of these two errors, but Adblock Pro is not working at all with ublock origin even after launch your changes live
I've tested with uBlock origin. It's the primary adblocker I use for testing coincidentally.

Can you leave my add-on installed and activated and send me a link to page where it's running so I can see/test for myself?
 
Back
Top Bottom