Support » Plugin: Custom Icons for Elementor » icons disappeared after migration

  • Resolved little_bird


    After migrating a site and regenerating the css the icons disappeared from the back and front end. I got this message for every icons I uploaded at the back end:
    Warning: Invalid argument supplied for foreach() in /home/elrunr5/public_html/ on line 196


    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Maybe the DB still refers to the old location?

    I used Duplicator for files and database migration of the site, but in the ec_icons_fonts option in the wp_options table the new site url is correct but the files path is the old one. Why did this happen and how can I change the css_root at the database?

    Plugin Author Michael Bourne


    Hey @little_bird

    Appreciate the info. For now, you should use a search and replace plugin to scan the database for your old URL and replace with the new one. Run it with escaped URLS as well (search: http:\/\/domain replace: http:\/\/domain). many migration tools already used this, but I haven;t used Duplicator myself to test.

    I’ll look into tweaking the regen to see if I can account for the site URL.


    Hi Michael

    Thanks for your answer. I used the plugin Better Search Replace to replace the new URL, but in the ec_icons_fonts option there are two different paths, the web path (like in font_url and css_url) and the system path (css_root and css_folder). Where do I find the system path? Is the one that begins with /home at the server?

    Plugin Author Michael Bourne


    hey @little_bird,

    If still having issues, send me an email at and I will email you the newest version to test, I believe it will fix this issue.

    Hi Michael,

    I am also encountered this problem. Could you please sent me the new version of the plugin also?


    Hi Michael,

    The new version (0.2.0) is working. I was getting a php error: Warning: Invalid argument supplied for foreach() in path../wp-content/plugins/custom-icons-for-elementor/includes/ line 199

    The only thing I had to do was to reselect the icons again in the list. Now they are showing again on the website.

    Thanks for your help

    Plugin Author Michael Bourne


    Newest version (0.2.1) should fix this problem.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘icons disappeared after migration’ is closed to new replies.