Hi p1x,
Thanks for posting. This is an error created when Bracket Builder was separated from League Manager. (The problem does not occur if League Manager is installed before Bracket Builder.)
I have patched the development version of the plugin which you can download from WordPress.org. You ONLY NEED the mstw-bb-admin.php
file.
Regards,
-Mark
Thread Starter
p1x
(@p1x)
I replaced the mstw-bb-admin.php file from dev version, but i get same error.
URL:
****/wp-admin/post.php?post=637&action=edit
Fatal error: Call to undefined function mstw_bb_get_current_post_type() in *****/wp-content/plugins/mstw-bracket-builder/includes/mstw-bb-admin.php on line 200
Hi, I also have this problem and the dev version didn’t fix it.
Fatal error: Uncaught Error: Call to undefined function mstw_get_current_post_type() in /var/www/html/wp-content/plugins/mstw-bracket-builder/includes/mstw-bb-admin.php:228 Stack trace: #0 /var/www/html/wp-includes/plugin.php(525): mstw_bb_hide_list_icons('') #1 /var/www/html/wp-admin/admin-header.php(130): do_action('admin_head-edit...') #2 /var/www/html/wp-admin/edit.php(299): require_once('/var/www/...') #3 {main} thrown in /var/www/html/wp-content/plugins/mstw-bracket-builder/includes/mstw-bb-admin.php on line 228
Running PHP 7.0.0 and WordPress 4.5.3.
Anyway to fix this problem?
Thanks a lot!
My mistake …
You need to grab mstw-bb-admin.php and mstw-bb-utility-functions.php from the development version.
That should fix it. Let me know.
-Mark