WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Menu Cart
[resolved] Strict standards warning during installation (3 posts)

  1. Nikolay Yordanov
    Member
    Posted 7 months ago #

    Hi, can you apply this patch, please? Otherwise there's a warning if you're running PHP 5.4 or later.

    Index: includes/wcmenucart-settings.php
    ===================================================================
    --- includes/wcmenucart-settings.php	(revision 840442)
    +++ includes/wcmenucart-settings.php	(working copy)
    @@ -224,7 +224,7 @@
         /**
          * Default settings.
          */
    -	public function default_settings() {
    +	public static function default_settings() {
     		// backwards compatibility > fetch old settings variable
     		$menu_name = get_option('menucart_name');
     		$always_display = get_option('menucart_display');

    http://wordpress.org/plugins/woocommerce-menu-bar-cart/

  2. Jeremiah
    Member
    Plugin Author

    Posted 7 months ago #

    Hi Nikolay!

    Thanks for the message. This is actually an old version of the plugin and the new one is here: http://wordpress.org/plugins/wp-menu-cart/

    However, I think you'd get the same error on the new version as well, so we'll fix that and push it out in the next release.

  3. Jeremiah
    Member
    Plugin Author

    Posted 6 months ago #

    This has been fixed and will be in the release next week.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.