Okay
  Public Ticket #3654933
PHP error
Closed

Comments

  •  4
    toomanyairmiles started the conversation

    Warning: include_once(/www/wwwroot/siteurl/wp-content/plugins/salient-core/includes/icons/data/iconsmind-unnamed-file.h.php): Failed to open stream: No such file or directory in /www/wwwroot/siteurl/wp-content/plugins/salient-core/includes/icons/class-nectar-icon.php on line 59

    Warning: include_once(): Failed opening '/www/wwwroot/siteurl/wp-content/plugins/salient-core/includes/icons/data/iconsmind-unnamed-file.h.php' for inclusion (include_path='.:') in /www/wwwroot/siteurl/wp-content/plugins/salient-core/includes/icons/class-nectar-icon.php on line 59


    So this has turned up on several of my sites that use Salient, it seems several of the iconsmind icons - in the case of the above page home and heart have stopped working.

  •  1,875
    Judith replied

    Hi there,

    Thanks for writing to us.

    This is not an issue we are replicating on our end.

    Please try to upload a fresh Salient theme zip file and remove the existing installation to see whether that helps fix the error.

    Before removing ensure you take a backup of your site or alternatively, you can create a staging site then try to remove the existing Salient installation and do a fresh installation and see whether that helps.

    For your convenience, we've included a link to a video tutorial on creating a staging site: Link to the Video..

    Please let us know how this goes.

  •  4
    toomanyairmiles replied

    Uploading a fresh theme will not help becuase the problem is SOME icons are missing from the theme all of a sudden.

    Please forward to a dev.

    I have the same issue on multiple sites.

    You can see a live example here: https://www.edinburghopenworkshop.co.uk/membership-pricing/

    The fix is choosing a different icon.

  •  8,838
    Tahir replied

    Hey Again,

    Which PHP version are you using, also are you able to view the icon if you turn off the PHP warnings ?.

    Thanks.


    ThemeNectar Support Team 

  •  4
    toomanyairmiles replied

    8 and no.

  •  8,838
    Tahir replied

    Thanks for the info. Escalating this to the developer for further response.

    Best 


    ThemeNectar Support Team 

  •  4
    toomanyairmiles replied

    The weird thing is the icons render fine in the admin area, but don't render at all on the front end, just spit out the error you can see. So far as I can see there are about a dozen or more iconsmind icons that don't work at all. You just have to keep trying different icons until one works.

    So far this is affecting three sites I know of (following the most recent theme upgrade), but I'll need to check all of them.

  •  1,069
    ThemeNectar replied

    Hey toomanyairmiles,

    It looks like you're using 16.2.1 on that site, which had a known issue with icons:
    https://themenectar.com/changelogs/salient.html

    Kindly try upgrading to 16.2.2 to see if that corrects the issue. If that does not, can you please paste in the actual icon shortcode that you're using so that I can test locally or alternatively provide a screenshot of the selected icon in the editor.

    Thanks in advance