update for start_el function

Reports about issues that you encounter in Suffusion. This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.
Forum rules
This forum is being officially closed with effect from 3rd February 2019. Future support requests can be posted on the GitHub page at https://github.com/sayontan/suffusion/issues.
Locked
dvl
Posts: 3
Joined: 02 Aug 2013, 08:32

update for start_el function

Post by dvl » 02 Aug 2013, 08:36

After upgrading to WordPress 3.6, I started seeing these errors when using Suffusion 4.4.6:

Code: Select all

Strict Standards: Declaration of Suffusion_MM_Walker::start_el() should be compatible with 
Walker::start_el(&$output, $object, $depth = 0, $args = Array, $current_object_id = 0) in 
/var/www/wordpress/themes/suffusion.4.4.6/library/suffusion-walkers.php on line 39
Solution: update library/suffusion-walkers.php on line 17 to:

Code: Select all

function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
More information here: http://dan.langille.org/2013/08/02/word ... de-issues/

Hope that helps. Thank you.

dvl
Posts: 3
Joined: 02 Aug 2013, 08:32

Re: update for start_el function

Post by dvl » 02 Aug 2013, 10:44

FYI, I found two other similar issues, and added the details to my blog post.

sayontan
Site Admin
Posts: 10210
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas
Contact:

Re: update for start_el function

Post by sayontan » 02 Aug 2013, 17:49

Thanks - I will address this in 4.4.8. When do you see this issue, though?

dvl
Posts: 3
Joined: 02 Aug 2013, 08:32

Re: update for start_el function

Post by dvl » 04 Aug 2013, 13:18

I just upgraded to 4.4.7. I see these messages on every page.

HTH

drake
Posts: 6223
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania
Contact:

Re: update for start_el function

Post by drake » 20 Jul 2014, 18:20

@Sarah - you've already quoted the solution in your post, as the first post of @dvl contain this solution. Make the changes if you wish... But, if your site don't works, is not because of these warnings. They are just warnings, they don't break anything. If you set WP_DEBUG to "false" in wp-config.php should not see any of these warnings.

Anyway, if you upgrade WordPress to any version above 3.6., is required to update Suffusion to 4.4.7. otherwise Save/Reset option button will not works (see the post from the top of forum)

Locked