• Resolved René Deutscher

    (@renedeutscher)


    I′ve made an update to V. 2.9.4.

    Now i get an error: “Error thrown” on my Mainpage.

    ? Error thrown
    ? Call to undefined function hestia_display_fa_icon()

    If i deactivate “Hestia enhancements” then it works – but some sections are missing on my frontpage (logical ;-)) .

    Workaround …?

    • This topic was modified 4 years, 11 months ago by .
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor rodicaelena

    (@rodicaelena)

    Hi,

    I’m really sorry you are experiencing this.
    Could you please let me know if you are using the latest version of Hestia and what other plugins are you using? I’ve tried replicating this on my side and couldn’t do it.

    Regards,
    Rodica

    Thread Starter René Deutscher

    (@renedeutscher)

    Hi Rodica,

    HESTIA is Version Version: 2.4.9.

    I updated to the newest HESTIA-Version – same error!
    I made a fallback again to 2.4.9 ′cause since Version 2.5.x HESTIA totaly destroys my layout!

    For locating the error i deactivated EVERY Plugin – no change ??

    My Plug-Ins:

    – All In One WP Security Version 4.4.3
    – Blog2Social: Social Media Auto Post & Scheduler Version 6.2.0
    – Bold Builder Version 2.5.9
    – Child Theme Configurator Version 2.5.2
    – Cookie Notice Version 1.2.51
    – Duplicate Post Version 3.2.4
    – Easy Updates Manager Version 9.0.1
    – Force Regenerate Thumbnails Version 2.0.6
    – IP Geo Block Version 3.0.17.4
    – NextGEN Gallery Version 3.3.0
    – Orbit Fox Companion Version 2.9.3
    – Simple 301 Redirects Version 1.07
    – Simple Lightbox Version 2.8.1
    – Simple Tooltips Version 2.1.3
    – TinyMCE Advanced Version 5.3.0
    – TwentyTwenty Version 1.0
    – Two Factor Version 0.5.1
    – UpdraftPlus – Backup/Restore Version 1.16.22
    – Webcraftic Clearfy – WordPress optimization plugin Version 1.6.4
    – WebP Express Version 0.17.3
    – WP DoNotTrack Version 0.8.8
    – WP Maintenance Mode Version 2.2.4
    – WP Rocket Version 3.5.1
    – WP Statistics Version 12.4.3 (older Version cause of caching problems ?? )
    – Yoast SEO Version 13.3

    Plugin Contributor rodicaelena

    (@rodicaelena)

    Hi Rene,

    Thank you for sharing all the details.
    As you are using a quite old version of Hestia that does not have that hestia_display_fa_icon function included, that error will appear.
    If you don’t want to update ( because you said that the latest version breaks your layout ), what you can try to do is to add this code in Hestia’s functions.php file at the end.

    
    if ( ! function_exists( 'hestia_display_fa_icon' ) ) {
    	function hestia_display_fa_icon( $value ) {
    		if ( strpos( $value, 'fa-' ) !== 0 ) {
    			return $value;
    		}
    
    		return 'fa ' . $value;
    	}
    }

    Let me know if that works for you.

    Regards,
    Rodica

    Thread Starter René Deutscher

    (@renedeutscher)

    Parse Error … one bracket too much?

    Hmmm, the brackets are correct …. check it again.

    • This reply was modified 4 years, 11 months ago by .
    Plugin Contributor rodicaelena

    (@rodicaelena)

    Hi,

    The code is correct, I’ve tried it on my side on the 2.4.9 version of Hestia like you have https://prnt.sc/rna4c2

    Thread Starter René Deutscher

    (@renedeutscher)

    Crazy …. i′ve to check again all plugins … (deactivating) ??

    Thread Starter René Deutscher

    (@renedeutscher)

    YES! ?? IT WORKS ??

    Thank you very much! i don′t know why but now the code snippet works fine. Maybe i had a invisible space at the end … (usually i check this)?

    Perfect ??

    Plugin Contributor rodicaelena

    (@rodicaelena)

    Great to hear that ??

    Plugin Contributor rodicaelena

    (@rodicaelena)

    Hi,
    If you feel you’d like to change your review here https://www.ads-software.com/support/topic/poor-support-109/ we’d appreciate it ??

    Regards,
    Rodica

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘?Error thrown“’ is closed to new replies.