Discussion:
Strict Standards: Declaration of ... Error
Baki Goxhaj
2013-09-11 09:17:11 UTC
Permalink
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
Filippo Pisano
2013-09-11 09:19:32 UTC
Permalink
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
Post by Baki Goxhaj
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
http://lists.automattic.com/mailman/listinfo/wp-hackers
Nikola Nikolov
2013-09-11 09:22:28 UTC
Permalink
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
Post by Filippo Pisano
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
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off. Seems to be a
PHP
Post by Baki Goxhaj
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
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Baki Goxhaj
2013-09-11 09:29:08 UTC
Permalink
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
Post by Nikola Nikolov
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
Post by Filippo Pisano
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
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off. Seems to be a
PHP
Post by Baki Goxhaj
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 =
Post by Filippo Pisano
Post by Baki Goxhaj
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
Post by Filippo Pisano
Post by Baki Goxhaj
WP. Any thoughts?
Kindly,
Baki Goxhaj
about.me/banago
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Filippo Pisano
2013-09-11 09:34:12 UTC
Permalink
Could you please post your declaration of start_el() ?

Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
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
Post by Nikola Nikolov
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
Post by Filippo Pisano
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
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off. Seems to
be a
Post by Nikola Nikolov
Post by Filippo Pisano
PHP
Post by Baki Goxhaj
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 =
Post by Filippo Pisano
Post by Baki Goxhaj
Array, $current_object_id = 0) in */var/www/vhosts/
haute-dish.com/httpdocs/wp-content/themes/hd/functions.php* on
line
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
*375*
Seems this is not a theme/plugin developer thing and needs to be
fixed
Post by Nikola Nikolov
in
Post by Filippo Pisano
Post by Baki Goxhaj
WP. Any thoughts?
Kindly,
Baki Goxhaj
about.me/banago
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Nikola Nikolov
2013-09-11 09:35:54 UTC
Permalink
If possible the whole Roller class(you can use a service like pastebin or
other in order to show us the code).


On Wed, Sep 11, 2013 at 12:34 PM, Filippo Pisano
Post by Filippo Pisano
Could you please post your declaration of start_el() ?
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
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
Post by Baki Goxhaj
arguments number for start_el function - which is probably causing the
issue.
Need more insight?
Kindly,
Baki Goxhaj
about.me/banago
Post by Nikola Nikolov
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
Post by Baki Goxhaj
Post by Nikola Nikolov
class property with a different access level for instance).
On Wed, Sep 11, 2013 at 12:19 PM, Filippo Pisano
Post by Filippo Pisano
It is a theme error indeed.
PHP is telling you to fix the error inside functions.php in line
375. I
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
think you should check your theme ;)
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off. Seems to
be a
Post by Nikola Nikolov
Post by Filippo Pisano
PHP
Post by Baki Goxhaj
5.4 problem and from a little search I saw it was popping on a lot
of
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
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 =
Post by Filippo Pisano
Post by Baki Goxhaj
Array, $current_object_id = 0) in */var/www/vhosts/
haute-dish.com/httpdocs/wp-content/themes/hd/functions.php* on
line
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
*375*
Seems this is not a theme/plugin developer thing and needs to be
fixed
Post by Nikola Nikolov
in
Post by Filippo Pisano
Post by Baki Goxhaj
WP. Any thoughts?
Kindly,
Baki Goxhaj
about.me/banago
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Baki Goxhaj
2013-09-11 09:38:05 UTC
Permalink
Here is my Roller class as it stands now:

http://paste.laravel.com/Q3i

Kindly,

Baki Goxhaj
about.me/banago
Post by Nikola Nikolov
If possible the whole Roller class(you can use a service like pastebin or
other in order to show us the code).
On Wed, Sep 11, 2013 at 12:34 PM, Filippo Pisano
Post by Filippo Pisano
Could you please post your declaration of start_el() ?
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
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
Post by Baki Goxhaj
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 <
Post by Nikola Nikolov
I'm almost a 100% sure that the Roller() class is definitely a
custom
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
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
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
have a different amount of arguments in the Roller:start_el() method
declaration, or some other incompatibility with the main
class(defining a
Post by Baki Goxhaj
Post by Nikola Nikolov
class property with a different access level for instance).
On Wed, Sep 11, 2013 at 12:19 PM, Filippo Pisano
Post by Filippo Pisano
It is a theme error indeed.
PHP is telling you to fix the error inside functions.php in line
375. I
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
think you should check your theme ;)
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off. Seems
to
Post by Filippo Pisano
Post by Baki Goxhaj
be a
Post by Nikola Nikolov
Post by Filippo Pisano
PHP
Post by Baki Goxhaj
5.4 problem and from a little search I saw it was popping on a
lot
Post by Filippo Pisano
of
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
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 =
Post by Filippo Pisano
Post by Baki Goxhaj
Array, $current_object_id = 0) in */var/www/vhosts/
haute-dish.com/httpdocs/wp-content/themes/hd/functions.php* on
line
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
*375*
Seems this is not a theme/plugin developer thing and needs to be
fixed
Post by Nikola Nikolov
in
Post by Filippo Pisano
Post by Baki Goxhaj
WP. Any thoughts?
Kindly,
Baki Goxhaj
about.me/banago
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Baki Goxhaj
2013-09-11 09:39:41 UTC
Permalink
it's basically the same implementation of Walker_Nav_Menu with this line
$item_output .= '<span>' . $item->description . '</span>';
Kindly,

Baki Goxhaj
about.me/banago
http://paste.laravel.com/Q3i
Kindly,
Baki Goxhaj
about.me/banago
Post by Nikola Nikolov
If possible the whole Roller class(you can use a service like pastebin or
other in order to show us the code).
On Wed, Sep 11, 2013 at 12:34 PM, Filippo Pisano
Post by Filippo Pisano
Could you please post your declaration of start_el() ?
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
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
Post by Baki Goxhaj
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 <
Post by Nikola Nikolov
I'm almost a 100% sure that the Roller() class is definitely a
custom
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
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
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
have a different amount of arguments in the Roller:start_el() method
declaration, or some other incompatibility with the main
class(defining a
Post by Baki Goxhaj
Post by Nikola Nikolov
class property with a different access level for instance).
On Wed, Sep 11, 2013 at 12:19 PM, Filippo Pisano
Post by Filippo Pisano
It is a theme error indeed.
PHP is telling you to fix the error inside functions.php in line
375. I
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
think you should check your theme ;)
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off. Seems
to
Post by Filippo Pisano
Post by Baki Goxhaj
be a
Post by Nikola Nikolov
Post by Filippo Pisano
PHP
Post by Baki Goxhaj
5.4 problem and from a little search I saw it was popping on a
lot
Post by Filippo Pisano
of
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
websites live. Here is what I get.
*
*
*Strict Standards*: Declaration of Roller::start_el() should
be
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
compatible with Walker::start_el(&$output, $object, $depth =
0,
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
$args =
Post by Filippo Pisano
Post by Baki Goxhaj
Array, $current_object_id = 0) in */var/www/vhosts/
haute-dish.com/httpdocs/wp-content/themes/hd/functions.php*on
line
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
*375*
Seems this is not a theme/plugin developer thing and needs to be
fixed
Post by Nikola Nikolov
in
Post by Filippo Pisano
Post by Baki Goxhaj
WP. Any thoughts?
Kindly,
Baki Goxhaj
about.me/banago
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Baki Goxhaj
2013-09-11 09:43:20 UTC
Permalink
Guys, this is embarrassing. I was pushing to the old server and viewing
results in the new server. Sorry.

Will update new server and let you know.

Kindly,

Baki Goxhaj
about.me/banago
Post by Baki Goxhaj
it's basically the same implementation of Walker_Nav_Menu with this line
$item_output .= '<span>' . $item->description . '</span>';
Kindly,
Baki Goxhaj
about.me/banago
http://paste.laravel.com/Q3i
Kindly,
Baki Goxhaj
about.me/banago
Post by Nikola Nikolov
If possible the whole Roller class(you can use a service like pastebin or
other in order to show us the code).
On Wed, Sep 11, 2013 at 12:34 PM, Filippo Pisano
Post by Filippo Pisano
Could you please post your declaration of start_el() ?
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Roller extends Walker_Nav_Menu. I made the start_el arguments the
same
Post by Filippo Pisano
Post by Baki Goxhaj
already.
The strange things is that Walker_Nav_Menu and Walker class have
different
Post by Baki Goxhaj
arguments number for start_el function - which is probably causing
the
Post by Filippo Pisano
Post by Baki Goxhaj
issue.
Need more insight?
Kindly,
Baki Goxhaj
about.me/banago
On Wed, Sep 11, 2013 at 11:22 AM, Nikola Nikolov <
Post by Nikola Nikolov
I'm almost a 100% sure that the Roller() class is definitely a
custom
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
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
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
have a different amount of arguments in the Roller:start_el()
method
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
declaration, or some other incompatibility with the main
class(defining a
Post by Baki Goxhaj
Post by Nikola Nikolov
class property with a different access level for instance).
On Wed, Sep 11, 2013 at 12:19 PM, Filippo Pisano
Post by Filippo Pisano
It is a theme error indeed.
PHP is telling you to fix the error inside functions.php in line
375. I
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
think you should check your theme ;)
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off.
Seems to
Post by Filippo Pisano
Post by Baki Goxhaj
be a
Post by Nikola Nikolov
Post by Filippo Pisano
PHP
Post by Baki Goxhaj
5.4 problem and from a little search I saw it was popping on a
lot
Post by Filippo Pisano
of
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
websites live. Here is what I get.
*
*
*Strict Standards*: Declaration of Roller::start_el() should
be
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
compatible with Walker::start_el(&$output, $object, $depth =
0,
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
$args =
Post by Filippo Pisano
Post by Baki Goxhaj
Array, $current_object_id = 0) in */var/www/vhosts/
haute-dish.com/httpdocs/wp-content/themes/hd/functions.php*on
line
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
*375*
Seems this is not a theme/plugin developer thing and needs to
be
Post by Filippo Pisano
Post by Baki Goxhaj
fixed
Post by Nikola Nikolov
in
Post by Filippo Pisano
Post by Baki Goxhaj
WP. Any thoughts?
Kindly,
Baki Goxhaj
about.me/banago
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Baki Goxhaj
2013-09-11 09:45:12 UTC
Permalink
All good - error is gone.

Sorry :)

Kindly,

Baki Goxhaj
about.me/banago
Post by Baki Goxhaj
Guys, this is embarrassing. I was pushing to the old server and viewing
results in the new server. Sorry.
Will update new server and let you know.
Kindly,
Baki Goxhaj
about.me/banago
Post by Baki Goxhaj
it's basically the same implementation of Walker_Nav_Menu with this line
$item_output .= '<span>' . $item->description . '</span>';
Kindly,
Baki Goxhaj
about.me/banago
http://paste.laravel.com/Q3i
Kindly,
Baki Goxhaj
about.me/banago
Post by Nikola Nikolov
If possible the whole Roller class(you can use a service like pastebin or
other in order to show us the code).
On Wed, Sep 11, 2013 at 12:34 PM, Filippo Pisano
Post by Filippo Pisano
Could you please post your declaration of start_el() ?
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Roller extends Walker_Nav_Menu. I made the start_el arguments the
same
Post by Filippo Pisano
Post by Baki Goxhaj
already.
The strange things is that Walker_Nav_Menu and Walker class have
different
Post by Baki Goxhaj
arguments number for start_el function - which is probably causing
the
Post by Filippo Pisano
Post by Baki Goxhaj
issue.
Need more insight?
Kindly,
Baki Goxhaj
about.me/banago
On Wed, Sep 11, 2013 at 11:22 AM, Nikola Nikolov <
Post by Nikola Nikolov
I'm almost a 100% sure that the Roller() class is definitely a
custom
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
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
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
have a different amount of arguments in the Roller:start_el()
method
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
declaration, or some other incompatibility with the main
class(defining a
Post by Baki Goxhaj
Post by Nikola Nikolov
class property with a different access level for instance).
On Wed, Sep 11, 2013 at 12:19 PM, Filippo Pisano
Post by Filippo Pisano
It is a theme error indeed.
PHP is telling you to fix the error inside functions.php in line
375. I
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
think you should check your theme ;)
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off.
Seems to
Post by Filippo Pisano
Post by Baki Goxhaj
be a
Post by Nikola Nikolov
Post by Filippo Pisano
PHP
Post by Baki Goxhaj
5.4 problem and from a little search I saw it was popping on
a lot
Post by Filippo Pisano
of
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
websites live. Here is what I get.
*
*
*Strict Standards*: Declaration of Roller::start_el()
should be
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
compatible with Walker::start_el(&$output, $object, $depth
= 0,
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
$args =
Post by Filippo Pisano
Post by Baki Goxhaj
Array, $current_object_id = 0) in */var/www/vhosts/
haute-dish.com/httpdocs/wp-content/themes/hd/functions.php*on
line
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
*375*
Seems this is not a theme/plugin developer thing and needs to
be
Post by Filippo Pisano
Post by Baki Goxhaj
fixed
Post by Nikola Nikolov
in
Post by Filippo Pisano
Post by Baki Goxhaj
WP. Any thoughts?
Kindly,
Baki Goxhaj
about.me/banago
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Filippo Pisano
2013-09-11 09:45:34 UTC
Permalink
Don't worry. Meanwhile I've found an interesting thread on stackoverflow
http://stackoverflow.com/a/17234377/718811

Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Guys, this is embarrassing. I was pushing to the old server and viewing
results in the new server. Sorry.
Will update new server and let you know.
Kindly,
Baki Goxhaj
about.me/banago
Post by Baki Goxhaj
it's basically the same implementation of Walker_Nav_Menu with this line
$item_output .= '<span>' . $item->description . '</span>';
Kindly,
Baki Goxhaj
about.me/banago
http://paste.laravel.com/Q3i
Kindly,
Baki Goxhaj
about.me/banago
Post by Nikola Nikolov
If possible the whole Roller class(you can use a service like pastebin
or
Post by Baki Goxhaj
Post by Nikola Nikolov
other in order to show us the code).
On Wed, Sep 11, 2013 at 12:34 PM, Filippo Pisano
Post by Filippo Pisano
Could you please post your declaration of start_el() ?
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Roller extends Walker_Nav_Menu. I made the start_el arguments the
same
Post by Filippo Pisano
Post by Baki Goxhaj
already.
The strange things is that Walker_Nav_Menu and Walker class have
different
Post by Baki Goxhaj
arguments number for start_el function - which is probably causing
the
Post by Filippo Pisano
Post by Baki Goxhaj
issue.
Need more insight?
Kindly,
Baki Goxhaj
about.me/banago
On Wed, Sep 11, 2013 at 11:22 AM, Nikola Nikolov <
Post by Nikola Nikolov
I'm almost a 100% sure that the Roller() class is definitely a
custom
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
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
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
have a different amount of arguments in the Roller:start_el()
method
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
declaration, or some other incompatibility with the main
class(defining a
Post by Baki Goxhaj
Post by Nikola Nikolov
class property with a different access level for instance).
On Wed, Sep 11, 2013 at 12:19 PM, Filippo Pisano
Post by Filippo Pisano
It is a theme error indeed.
PHP is telling you to fix the error inside functions.php in
line
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
375. I
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
think you should check your theme ;)
Filippo Pisano
cel: 3291821355 / skype: filippopisano
On Wed, Sep 11, 2013 at 11:17 AM, Baki Goxhaj <
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off.
Seems to
Post by Filippo Pisano
Post by Baki Goxhaj
be a
Post by Nikola Nikolov
Post by Filippo Pisano
PHP
Post by Baki Goxhaj
5.4 problem and from a little search I saw it was popping on
a
Post by Baki Goxhaj
Post by Nikola Nikolov
lot
Post by Filippo Pisano
of
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
websites live. Here is what I get.
*
*
*Strict Standards*: Declaration of Roller::start_el()
should
Post by Baki Goxhaj
Post by Nikola Nikolov
be
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
compatible with Walker::start_el(&$output, $object, $depth
=
Post by Baki Goxhaj
Post by Nikola Nikolov
0,
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
$args =
Post by Filippo Pisano
Post by Baki Goxhaj
Array, $current_object_id = 0) in */var/www/vhosts/
haute-dish.com/httpdocs/wp-content/themes/hd/functions.php*on
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
line
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
*375*
Seems this is not a theme/plugin developer thing and needs to
be
Post by Filippo Pisano
Post by Baki Goxhaj
fixed
Post by Nikola Nikolov
in
Post by Filippo Pisano
Post by Baki Goxhaj
WP. Any thoughts?
Kindly,
Baki Goxhaj
about.me/banago
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Baki Goxhaj
2013-09-11 09:50:36 UTC
Permalink
That's interesting Filippo - thanks for sharing it.

My client hosts at MT and asked them for PHP version. He is running PHP
5.4.x. Thus the error. But it's strange it would show on a live environment.

Kindly,

Baki Goxhaj
about.me/banago


On Wed, Sep 11, 2013 at 11:45 AM, Filippo Pisano
Post by Filippo Pisano
Don't worry. Meanwhile I've found an interesting thread on stackoverflow
http://stackoverflow.com/a/17234377/718811
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Guys, this is embarrassing. I was pushing to the old server and viewing
results in the new server. Sorry.
Will update new server and let you know.
Kindly,
Baki Goxhaj
about.me/banago
Post by Baki Goxhaj
it's basically the same implementation of Walker_Nav_Menu with this
line
Post by Baki Goxhaj
Post by Baki Goxhaj
$item_output .= '<span>' . $item->description . '</span>';
Kindly,
Baki Goxhaj
about.me/banago
http://paste.laravel.com/Q3i
Kindly,
Baki Goxhaj
about.me/banago
On Wed, Sep 11, 2013 at 11:35 AM, Nikola Nikolov <
Post by Nikola Nikolov
If possible the whole Roller class(you can use a service like
pastebin
Post by Baki Goxhaj
or
Post by Baki Goxhaj
Post by Nikola Nikolov
other in order to show us the code).
On Wed, Sep 11, 2013 at 12:34 PM, Filippo Pisano
Post by Filippo Pisano
Could you please post your declaration of start_el() ?
Filippo Pisano
cel: 3291821355 / skype: filippopisano
Post by Baki Goxhaj
Roller extends Walker_Nav_Menu. I made the start_el arguments the
same
Post by Filippo Pisano
Post by Baki Goxhaj
already.
The strange things is that Walker_Nav_Menu and Walker class have
different
Post by Baki Goxhaj
arguments number for start_el function - which is probably
causing
Post by Baki Goxhaj
Post by Baki Goxhaj
Post by Nikola Nikolov
the
Post by Filippo Pisano
Post by Baki Goxhaj
issue.
Need more insight?
Kindly,
Baki Goxhaj
about.me/banago
On Wed, Sep 11, 2013 at 11:22 AM, Nikola Nikolov <
Post by Nikola Nikolov
I'm almost a 100% sure that the Roller() class is definitely a
custom
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
class that extends the Walker() class that comes with
WordPress.
Post by Baki Goxhaj
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
I'm also pretty sure that the error you're seeing is because
either you
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
have a different amount of arguments in the Roller:start_el()
method
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
declaration, or some other incompatibility with the main
class(defining a
Post by Baki Goxhaj
Post by Nikola Nikolov
class property with a different access level for instance).
On Wed, Sep 11, 2013 at 12:19 PM, Filippo Pisano
Post by Filippo Pisano
It is a theme error indeed.
PHP is telling you to fix the error inside functions.php in
line
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
375. I
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
think you should check your theme ;)
Filippo Pisano
cel: 3291821355 / skype: filippopisano
On Wed, Sep 11, 2013 at 11:17 AM, Baki Goxhaj <
Post by Baki Goxhaj
Hi guys,
I'm getting this error no matter what I switch on or off.
Seems to
Post by Filippo Pisano
Post by Baki Goxhaj
be a
Post by Nikola Nikolov
Post by Filippo Pisano
PHP
Post by Baki Goxhaj
5.4 problem and from a little search I saw it was popping
on
Post by Baki Goxhaj
a
Post by Baki Goxhaj
Post by Nikola Nikolov
lot
Post by Filippo Pisano
of
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
websites live. Here is what I get.
*
*
*Strict Standards*: Declaration of Roller::start_el()
should
Post by Baki Goxhaj
Post by Nikola Nikolov
be
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
compatible with Walker::start_el(&$output, $object,
$depth
Post by Baki Goxhaj
=
Post by Baki Goxhaj
Post by Nikola Nikolov
0,
Post by Filippo Pisano
Post by Baki Goxhaj
Post by Nikola Nikolov
$args =
Post by Filippo Pisano
Post by Baki Goxhaj
Array, $current_object_id = 0) in */var/www/vhosts/
haute-dish.com/httpdocs/wp-content/themes/hd/functions.php*on
Post by Baki Goxhaj
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
line
Post by Nikola Nikolov
Post by Filippo Pisano
Post by Baki Goxhaj
*375*
Seems this is not a theme/plugin developer thing and needs
to
Post by Baki Goxhaj
Post by Baki Goxhaj
Post by Nikola Nikolov
be
Post by Filippo Pisano
Post by Baki Goxhaj
fixed
Post by Nikola Nikolov
in
Post by Filippo Pisano
Post by Baki Goxhaj
WP. Any thoughts?
Kindly,
Baki Goxhaj
about.me/banago
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Loading...