After upgrading Traffic Plugin my site went offline with this error. This error indicates that a constant named POKM_PRODUCT_NAME is not defined in the Traffic plugin. This leads to a critical error. It is probably a programming error in the plugin itself. Please fix this error.
WordPress-Version 6.7.1
Aktives Theme: Blocksy (Version 2.0.77)
Aktuelles Plugin: Traffic (Version 3.1.0)
PHP-Version 8.3.10
Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 76 der Datei /home/public_html/example.me/wp-content/plugins/traffic/includes/plugin/class-core.php verursacht. Fehlermeldung: Uncaught Error: Undefined constant "Traffic\Plugin\POKM_PRODUCT_NAME" in /home/public_html/example.me/wp-content/plugins/traffic/includes/plugin/class-core.php:76
Stack trace:
#0 /home/public_html/example.me/wp-content/plugins/traffic/includes/plugin/class-core.php(58): Traffic\Plugin\Core->define_global_hooks()
#1 /home/public_html/example.me/wp-content/plugins/traffic/traffic.php(73): Traffic\Plugin\Core->__construct()
#2 /home/public_html/example.me/wp-content/plugins/traffic/traffic.php(80): traffic_run()
#3 /home/public_html/example.me/wp-settings.php(526): include_once('/home/pub...')
#4 /home/public_html/example.me/wp-config.php(100): require_once('/home/pub...')
#5 /home/public_html/example.me/wp-load.php(50): require_once('/home/pub...')
#6 /home/public_html/example.me/wp-login.php(12): require('/home/pub...')
#7 {main}
?thrown"
]]>
PHP Fatal error: Uncaught malkusch\lock\exception\LockAcquireException: Failed to lock the file. in /nas/content/live/chmarkt/wp-content/plugins/traffic/includes/libraries/lock/mutex/FlockMutex.php:142#012Stack trace:#012#0 /nas/content/live/chmarkt/wp-content/plugins/traffic/includes/libraries/lock/mutex/FlockMutex.php(123): malkusch\lock\mutex\FlockMutex->acquireNonBlockingLock()#012#1 /nas/content/live/chmarkt/wp-content/plugins/traffic/includes/libraries/lock/util/Loop.php(99): malkusch\lock\mutex\FlockMutex->malkusch\lock\mutex\{closure}()#012#2 /nas/content/live/chmarkt/wp-content/plugins/traffic/includes/libraries/lock/mutex/FlockMutex.php(122): malkusch\lock\util\Loop->execute(Object(Closure))#012#3 /nas/content/live/chmarkt/wp-content/plugins/traffic/includes/libraries/lock/mutex/FlockMutex.php(164): malkusch\lock\mutex\FlockMutex->lockBusy()#012#4 /nas/content/live/chmarkt/wp-content/plugins/traffic/includes/libraries/lock/mutex/LockMutex.php(43): malkusch\lock\mutex\FlockMutex->lock()#012#5 /nas/content/live/chmarkt/wp-content/plugins/traffic/includes/features/class-memory.php(158): malkusch\lock\mutex\LockMutex->synchronized(Object(Closure))#012#6 /nas/content/live/chmarkt/wp-content/plugins/traffic/includes/features/class-memory.php(114): Traffic\Plugin\Feature\Memory::write_records_to_memory()#012#7 /nas/content/live/chmarkt/wp-includes/class-wp-hook.php(322): Traffic\Plugin\Feature\Memory::write()#012#8 /nas/content/live/chmarkt/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#012#9 /nas/content/live/chmarkt/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#10 /nas/content/live/chmarkt/wp-includes/load.php(1280): do_action(‘shutdown’)#012#11 [internal function]: shutdown_action_hook()#012#12 {main}#012 thrown in /nas/content/live/chmarkt/wp-content/plugins/traffic/includes/libraries/lock/mutex/FlockMutex.php on line 142
]]>Console Show me this alert: This console is currently unavailable. Click here to see why.
Click and the menú : admin.php?page=traffic&tab=misc
Sorry, you do not have permissions to access this page.
Thanks for your help, great plugin!
]]>Hello Dear Pierre,
when i am trying to activate the traffic plugin i get this error:
Fatal error: Uncaught Error: Class 'Traffic\System\SharedMemory' not found in /home/xxx/domains/freshuk.co.il/public_html/wp-content/plugins/wp-traffic-2.7.1/includes/features/class-memory.php:160 Stack trace: #0 /home/xxx/domains/freshuk.co.il/public_html/wp-content/plugins/decalog/includes/libraries/lock/mutex/LockMutex.php(48): Traffic\Plugin\Feature\Memory::Traffic\Plugin\Feature\{closure}() #1 /home/xxx/domains/freshuk.co.il/public_html/wp-content/plugins/wp-traffic-2.7.1/includes/features/class-memory.php(171): malkusch\lock\mutex\LockMutex->synchronized() #2 /home/xxx/domains/freshuk.co.il/public_html/wp-content/plugins/wp-traffic-2.7.1/includes/features/class-memory.php(114): Traffic\Plugin\Feature\Memory::write_records_to_memory() #3 /home/xxx/domains/freshuk.co.il/public_html/wp-includes/class-wp-hook.php(305): Traffic\Plugin\Feature\Memory::write() #4 /home/xxx/domains/freshuk.co.il/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #5 /home/xxx/domains/f in /home/xxx/domains/freshuk.co.il/public_html/wp-content/plugins/wp-traffic-2.7.1/includes/features/class-memory.php on line 160
any clue what should be done?
thank you !
Hello Traffic Team,
I have installed Traffic and DecaLog on a localhost site where my account is the only one and the admin. When I click on the Console admin menu under PerfOps One, I see a message: “This console is currently unavailable. Click here to see why.” When I click on the message it goes to a page that shows I’m not allowed to view it:
“Sorry, you are not allowed to access this page.”
Any idea how to fix this? I would like to see the actual outgoing requests. I can see the domain in the Analytics page, but not the actual requests.
Thank you,
David
]]>Just installed and liked your plugin but any idea why the switch for inbound traffic is disabled ??
]]>Hi,
Do I need to have api to use this plugin? If so, where to get the api?
]]>Hi,
We installed Traffic plugin on our WordPress (WP) multisite installation. We are using WP 5.4.1 and Php 7.3.18. Our WP website has more than 2000 multisites. How can we see traffic coming from each one of them to our core site.
We could not find any configuration parameter to configure for this. How will Traffic plugin know about our 2000 websites? Will it recognize them automatically or do we have to specify these websites somewhere.
Regards
Amal