Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Child theme errors

Discussion in 'Misc WordPress Requests' started by fernanf, Mar 12, 2018.

  1. fernanf


    Child theme errors, by fernanf

    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?

    Child theme errors

Share This Page

Monarch Social Sharing Plugin