Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

orangutangle opened this issue May 3, 2018 · 2 comments


Copy link

@orangutangle orangutangle commented May 3, 2018

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?


This comment has been minimized.

Copy link

@bobbingwide bobbingwide commented May 4, 2018

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.


This comment has been minimized.

Copy link

@bobbingwide bobbingwide commented Nov 23, 2019

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 bobbingwide self-assigned this Nov 23, 2019
@bobbingwide bobbingwide added the bug label Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.