-
Hello guys,
I have a quick fix for anyone having some PHP Warnings regarding tournament_carousel.php & extended_functions.php :
PHP Warning: Invalid argument supplied for foreach() in /wordpress/wp-content/themes/arcane/widgets/tournament_carousel
/tournament_carousel.php on line 215`PHP Warning: Invalid argument supplied for foreach() in /wordpress/wp-content/themes/arcane/addons/tournaments/extended_functions.php on line 2448
<strong>[*]</strong> The following code for <strong>tournament_carousel.php</strong> on <strong>line 215</strong> needs a modification:
foreach ($round as $single_game) {
And replace with:
foreach ((array)$round as $single_game) {
<strong>[*]</strong> The following code for <strong>extended_functions.php</strong> on <strong>line 2448</strong> needs a modification:
foreach ($round as $single_game) {
And replace with:
foreach ((array)$round as $single_game) {
-
Please use the search before making a post. Your question maybe be already answered!
-
Do you need customization work? Are you having trouble installing Wordpress? Feeling lazy and want somebody else to do the hard work for you?
Join our discord!
Need hosting?
Follow us!