Roots Discourse

Soil 4.0.1 - CleanUpModule warning

Hi there,

I am trying to use soil plugin (version 4.0.1), but I am getting a warning:

Warning: array_map() expects parameter 1 to be a valid callback, class 'Roots\Soil\Modules\CleanUpModule' does not have a method 'site_icon_meta_tags' in /app/wp-content/plugins/soil/src/Modules/CleanUpModule.php on line 230

In my Sage setup.php file I have added:

add_theme_support('soil', [
        'clean-up',
        'nav-walker',
        'relative-urls',
        'js-to-footer'
    ]);

May I ask the help of the Community?

Thank you

I am receiving the same error after updating Soil.

Hi @KevinLisota,

I was not able to find a solution, unfortunately not yet.

Hi @KevinLisota,

4.0.2 is out. It shoud fix the issue.