Child theme errors
-
Hi everyone,
1. In Child theme’s homepage some sections are not shown but they are in parent theme. For example, when I try to show a section in Homepage, the following error is shown:
“Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\Cover\wp-content\themes\MusicTheme\widgets\class-tmpl-image-gallery.php on line 106”Question: I am not sure but I think it is related to the parent theme’s configuration. How this problem could be resolved?
2. Furthermore, there are other errors when you load the site using child-theme:
Deprecated: Function create_function() is deprecated in C:\xampp\htdocs\Cover\wp-content\themes\MusicTheme\functions\auto_install\auto_install.php on line 422
Notice: Trying to get property ‘url’ of non-object in C:\xampp\htdocs\Cover\wp-includes\script-loader.php on line 1239
Question: What is the reason of these errors?
- The topic ‘Child theme errors’ is closed to new replies.