[wp-hackers] Strict Standards: Declaration of ... Error
Filippo Pisano
filippo.pisano at gmail.com
Wed Sep 11 09:34:12 UTC 2013
Could you please post your declaration of start_el() ?
Filippo Pisano
cel: 3291821355 / skype: filippopisano
On Wed, Sep 11, 2013 at 11:29 AM, Baki Goxhaj <banago at gmail.com> wrote:
> Roller extends Walker_Nav_Menu. I made the start_el arguments the same
> already.
>
> The strange things is that Walker_Nav_Menu and Walker class have different
> arguments number for start_el function - which is probably causing the
> issue.
>
> Need more insight?
>
>
> Kindly,
>
> Baki Goxhaj
> about.me/banago
>
>
> On Wed, Sep 11, 2013 at 11:22 AM, Nikola Nikolov <nikolov.tmw at gmail.com
> >wrote:
>
> > I'm almost a 100% sure that the Roller() class is definitely a custom
> > class that extends the Walker() class that comes with WordPress.
> >
> > I'm also pretty sure that the error you're seeing is because either you
> > have a different amount of arguments in the Roller:start_el() method
> > declaration, or some other incompatibility with the main class(defining a
> > class property with a different access level for instance).
> >
> >
> > On Wed, Sep 11, 2013 at 12:19 PM, Filippo Pisano
> > <filippo.pisano at gmail.com>wrote:
> >
> > > It is a theme error indeed.
> > > PHP is telling you to fix the error inside functions.php in line 375. I
> > > think you should check your theme ;)
> > >
> > > Filippo Pisano
> > > cel: 3291821355 / skype: filippopisano
> > >
> > >
> > > On Wed, Sep 11, 2013 at 11:17 AM, Baki Goxhaj <banago at gmail.com>
> wrote:
> > >
> > > > Hi guys,
> > > >
> > > > I'm getting this error no matter what I switch on or off. Seems to
> be a
> > > PHP
> > > > 5.4 problem and from a little search I saw it was popping on a lot of
> > > > websites live. Here is what I get.
> > > > *
> > > > *
> > > > >
> > > > > *Strict Standards*: Declaration of Roller::start_el() should be
> > > > > compatible with Walker::start_el(&$output, $object, $depth = 0,
> > $args =
> > > > > Array, $current_object_id = 0) in */var/www/vhosts/
> > > > > haute-dish.com/httpdocs/wp-content/themes/hd/functions.php* on
> line
> > > > *375*
> > > > >
> > > >
> > > > Seems this is not a theme/plugin developer thing and needs to be
> fixed
> > in
> > > > WP. Any thoughts?
> > > >
> > > > Kindly,
> > > >
> > > > Baki Goxhaj
> > > > about.me/banago
> > > > _______________________________________________
> > > > wp-hackers mailing list
> > > > wp-hackers at lists.automattic.com
> > > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > > >
> > > _______________________________________________
> > > wp-hackers mailing list
> > > wp-hackers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list