• ResolvedPlugin Author BlockMeister

    (@blockmeister)


    Reported by @patrick-b:

    Issue with 3.1.5

    An error of type E_ERROR was caused in line 41 of the file /www/wp-content/plugins/blockmeister/includes/Pattern_Builder/BlockMeister_Pattern_Category_Taxonomy.php. Error message: Uncaught Error: Call to undefined method WP_Taxonomy::get_default_labels() in /www/wp-content/plugins/blockmeister/includes/Pattern_Builder/BlockMeister_Pattern_Category_Taxonomy.php:41
    Stack trace:
    #0 /www/wp-content/plugins/blockmeister/includes/Pattern_Builder/BlockMeister_Pattern_Category_Taxonomy.php(23): ProDevign\BlockMeister\Pattern_Builder\BlockMeister_Pattern_Category_Taxonomy->register_blockmeister_pattern_category_taxonomy()
    #1 /wordpress/wp-includes/class-wp-hook.php(307): ProDevign\BlockMeister\Pattern_Builder\BlockMeister_Pattern_Category_Taxonomy->ProDevign\BlockMeister\Pattern_Builder\{closure}(”)
    #2 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 /wordpress/wp-settings.php(590): do_action(‘init’)
    #5 /www/wp-config.php(120): require_once(‘/wordpress/wp-s…’)
    #6 /wordpress/wp-config.php(5): require(‘/www/wp-config….’)
    #7 /wordpress/wp-load.php(50): require_once(‘/wordpress/wp-c…’)
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author BlockMeister

    (@blockmeister)

    It turns out that I used a part of the WP API that was introduced with WP 6.0.
    You probably didn’t yet upgrade to WP 6.0, right?

    Anyway I will replace that API call with an alternative that is backwards compatible with WP 5.8 in the next release.

    I will update this topic when it is released.

    Plugin Author BlockMeister

    (@blockmeister)

    I just released a quick fix for this in 3.1.6.

    Plugin Author BlockMeister

    (@blockmeister)

    For users that might be affected by this unfortunate error and may be locked out of their admin area, please follow these steps to remove BlockMeister 3.1.5 and reinstall 3.1.6:

    1. Using FTP or the File Manager in your websites control panel, please delete the ‘blockmeister’ folder in your wp-content/plugins folder
    2. Now re-install BlockMeister from the repository. All your custom patterns and other data will still be available.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error with 3.1.5: undefined method WP_Taxonomy::get_default_labels()’ is closed to new replies.