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

Uncaught Error: Call to undefined function oik__help() in \oik\shortcodes\oik-codes.php:677 #148

Closed
bobbingwide opened this issue Jun 23, 2020 · 0 comments
Assignees

Comments

@bobbingwide
Copy link
Owner

When using the [bw_code] shortcode to display help for a shortcode, there is a chance that bw_code__example gets called for the 'oik' shortcode but shortcodes\oik-bob-bing-wide.php hasn't been loaded. The call to oik__help() results in the Fatal error.

Solution

Replace oik__help(); by bw_lazy_sc_help("oik");

Note: The file will have been loaded by the time oik__example() gets called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant