Upgraded to WordPress 6.0 and have issues? Please check the hotfix which you need to apply.

Okay
  Public Ticket #3178633
Error with plugin Bakery Options
Closed

Comments

  • Joanra started the conversation

    Hello,

    when installing the required plugins within your theme, Bakery Options plugin casts an error when activated.

    Here is the error description:

    Fatal error: Uncaught Error: Call to a member function get_list_item_separator() on null in /home/laflekbarcelona/www/home/wp-includes/l10n.php:1774 Stack trace: #0 /home/laflekbarcelona/www/home/wp-includes/class-wp-theme.php(943): wp_get_list_item_separator() #1 /home/laflekbarcelona/www/home/wp-includes/class-wp-theme.php(840): WP_Theme->markup_header('Tags', Array, false) #2 /home/laflekbarcelona/www/home/wp-content/plugins/bakery-options/options.php(67): WP_Theme->display('Tags') #3 /home/laflekbarcelona/www/home/wp-content/plugins/bakery-options/options.php(34): Redux_Framework_Bakery_Options->setSections() #4 /home/laflekbarcelona/www/home/wp-includes/class-wp-hook.php(308): Redux_Framework_Bakery_Options->initSettings('') #5 /home/laflekbarcelona/www/home/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #6 /home/laflekbarcelona/www/home/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/laflekbarcelona/www/home/wp-settings.php(480): do_action('plugins_loaded') #8 /home/laflekbarcelona/www/home/wp-config.php(91): require_once('/home/laflekbar...') #9 /home/laflekbarcelona/www/home/wp-load.php(50): require_once('/home/laflekbar...') #10 /home/laflekbarcelona/www/home/wp-admin/admin.php(34): require_once('/home/laflekbar...') #11 /home/laflekbarcelona/www/home/wp-admin/index.php(10): require_once('/home/laflekbar...') #12 {main} thrown in /home/laflekbarcelona/www/home/wp-includes/l10n.php on line 1774

  • Joanra replied

    I removed the following line, as you commented in another ticket, and it seems to work now. Is this correct?

    $this->theme->display( 'Tags' );


  •  225
    Milingona replied

    Hi,

    Yes, you need to comment or remove that line of code.

    Thanks,


    Milingona Support

    Follow on     Envato     Facebook     Twitter

  • Joanra replied

    Thanks!

  •  225
    Milingona replied

    You're more than welcome!


    Milingona Support

    Follow on     Envato     Facebook     Twitter