Error on error log…
-
I am getting this error repeating over and over in the error log for Advanced Post Types Order… I have contacted you on your website about this, but am also posting it here in case the free version maybe has a similar issue…? Though I am just noticing it has been updated recently…
PHP Warning: Declaration of Post_Types_Order_Walker::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, …$args) in /home/awakenedheart/public_html/wp-content/plugins/advanced-post-types-order/include/walkers/post-types-order-walker-class.php on line 410
The Custom Menu Wizard plugin has what I believe may be the same issue… Here next is the fix for that, incase it is helpful…
Both Custom_Menu_Wizard_Sorter in include/class.sorter.php and Custom_Menu_Wizard_Walker in include/class.walker.php need to have their walk() signature updated to include the …$args paramter.
So line 55 in class.walker.php becomes?-
public function walk( $elements, $max_depth, …$args ){
And line 60 in class.sorter.php becomes-
?public function walk( $elements, $max_depth = 0, …$args ) {
- The topic ‘Error on error log…’ is closed to new replies.