Support » Plugin: WooCommerce Menu Cart » Strict standards warning during installation

  • Resolved Nikolay Yordanov

    (@nikolayyordanov)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Strict standards warning during installation’ is closed to new replies.