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

Fatal error when bw_trace2 function not defined #11

Open
bobbingwide opened this issue Oct 25, 2017 · 0 comments
Open

Fatal error when bw_trace2 function not defined #11

bobbingwide opened this issue Oct 25, 2017 · 0 comments
Assignees
Labels

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented Oct 25, 2017

While upgrading oik and oik-bwtrace in a WordPress Multisite installation ( oik-plugins.eu ) I got a Fatal error; produced when oik-types attempted to call bw_trace2.

Expected output

No fatal error.
Oik-types is dependent upon oik and oik-fields so should not be using functions until it’s safe to do so.

Actual output

Fatal error: Uncaught Error: Call to undefined function bw_trace2() in oik-types/oik-types.php:460

Explanation

During an upgrade to the latest version of oik-bwtrace and oik I'd deactivated oik-bwtrace to avoid a compatibility problem between non-final versions. But somehow the oik plugin had also become deactivated. This was unexpected. So bw_trace2 was not being loaded by either of these plugins.

Workaround

Deactivate oik-types prior to updating oik.

Proposed solution

It’s an unexpected situation leading to an unexpected result.
It should be tested in both WPMS and straight WordPress.

@bobbingwide bobbingwide self-assigned this Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant