Deprecated Optional Parameters in disordered sequence?
-
Hi!
Magazine Theme 3.0.8 (magazine-basic-child: version: 1.0), WP 6.6.2 .Package throwing a “Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in ‘/…/…/’wp-content/themes/magazine-basic/functions.php on line 566″ message.
There are 5 instances of $depth in the functions.php file:
line 351
line 376
line 378
line 566
line 571
Line 566 has “$depth=0”
Could this be the cause of the message? would changing it to just $depth, like the others, solve the problem w/o breaking the site?
Thanks!
The topic ‘Deprecated Optional Parameters in disordered sequence?’ is closed to new replies.
