Invalid argument supplied for foreach()
-
Hello!
I’m just working on a website when this error occurred: Warning: Invalid argument supplied for foreach() in /home/customer/www/eierenbestellen.nl/public_html/wp-content/themes/smartic/inc/elementor/class-elementor.php on line 68
When I go to the specific code on line 68 I see:
68 `foreach ($custom_color as $color) {
69 $title = $color[“title”];
70 switch ($title) {
71 case “Light”:
72 $css .= ‘–light:’ . $color[‘color’] . ‘;’;
73 break;
74 case “Dark”:
75 $css .= ‘–dark:’ . $color[‘color’] . ‘;’;
76 break;
77 case “Border”:
78 $css .= ‘–border:’ . $color[‘color’] . ‘;’;
79 break;
80 }`How can I solve this error?
The page I need help with: [log in to see the link]
- The topic ‘Invalid argument supplied for foreach()’ is closed to new replies.