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: Uncaught Error: Call to undefined function bw_get_field_names() #43

Open
bobbingwide opened this issue Dec 23, 2020 · 1 comment
Assignees

Comments

@bobbingwide
Copy link
Owner

Fatal error: Uncaught Error: Call to undefined function bw_get_field_names() in C:\apache\htdocs\wordpress\wp-content\plugins\oik-fields\shortcodes\oik-fields.php:74

while attempting to view a privacy policy page created by oik-privacy-policy.

Stack trace: 
#0 C:\apache\htdocs\wordpress\wp-content\plugins\oik-blocks\oik-blocks.php(322): bw_metadata(Array, NULL, NULL) 
bobbingwide/fizzie#1 C:\apache\htdocs\wp55\wp-includes\class-wp-block.php(221): oik_blocks_dynamic_block_fields(Array, '', Object(WP_Block)) 
bobbingwide/fizzie#2 C:\apache\htdocs\wp55\wp-includes\class-wp-block.php(211): WP_Block->render() 
bobbingwide/fizzie#3 C:\apache\htdocs\wp55\wp-content\plugins\gutenberg\lib\compat.php(452): WP_Block->render() 
bobbingwide/fizzie#4 C:\apache\htdocs\wp55\wp-includes\class-wp-hook.php(287): gutenberg_render_block_with_assigned_block_context(NULL, Array) 
bobbingwide/fizzie#5 C:\apache\htdocs\wp55\wp-includes\plugin.php(212): WP_Hook->apply_filters(NULL, Array) 
bobbingwide/fizzie#6 C:\apache\htdocs\wp55\wp-includes\blocks.php(672): apply_filters('pre_render_bloc...', NULL, Array) 
bobbingwide/fizzie#7 C:\apache\htdocs\wp55\wp-includes\blocks.php(760): render_block(Array) 
bobbingwide/fizzie#8 C:\apache\htdocs\wordpress\wp-content\themes\fizzie\i in C:\apache\htdocs\wordpress\wp-content\plugins\oik-fields\shortcodes\oik-fields.php on line 74
@bobbingwide bobbingwide self-assigned this Dec 23, 2020
@bobbingwide
Copy link
Owner Author

This is a problem due to the oik-blocks plugin loading the file even though the plugin isn't activated.
There's a @todo in oik-blocks to check that the plugin's active. Raising issue against oik-blocks.

@bobbingwide bobbingwide transferred this issue from bobbingwide/fizzie Dec 23, 2020
bobbingwide added a commit that referenced this issue Mar 19, 2021
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