bobbingwide / oik-bwtrace

debug trace for WordPress
https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
GNU General Public License v2.0
6 stars 1 forks source link

Plugin could not be activated because it triggered a fatal error. #70

Closed orangutangle closed 3 years ago

orangutangle commented 6 years ago

Fatal error: Uncaught Error: Call to undefined function gob() in /wp-content/plugins/oik-bwtrace/includes/class-BW-trace-controller.php:146

I searched the repository and there doesn't seem to be a definition for the gob function. Am I missing dependency?

bobbingwide commented 6 years ago

Hi Robin, , gob() stands for Go bang. It's a function that's not meant to exist. It's a bug. You've probably got a define in your wp-config.php file

define( 'BW_TRACE_ON', true );

Comment that out or the line in error.

bobbingwide commented 4 years ago

I've removed the gob() that was causing the problem. It was commented out a while back. Note: The PHPUnit tests for oik-bwtrace do not run when the BW_TRACE_ON constant is defined.

bobbingwide commented 3 years ago

Even though there's still one uncommented gob() I'm going to close this issue.