melissajclark
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [Better Font Awesome] Call to a member function get_error_codeAlso receiving these errors after deactivating or renaming the plugin’s folder name on FTP.
Warning: fopen(/home/melissaj/public_html/URL/SITENAME/wp-content/plugins/better-font-awesome/better-font-awesome.php) [function.fopen]: failed to open stream: No such file or directory in /home/user/public_html/URL/SITENAME/wp-includes/functions.php on line 3879 Warning: fread() expects parameter 1 to be resource, boolean given in /home/user/public_html/URL/SITENAME/wp-includes/functions.php on line 3882 Warning: fclose() expects parameter 1 to be resource, boolean given in /home/user/public_html/URL/SITENAME/wp-includes/functions.php on line 3885
Forum: Plugins
In reply to: [Better Font Awesome] Call to a member function get_error_codeHi I’m having the same issue.
I’m using the plugin on a standalone WordPress installation (ie. not Multisite). I was working on the website last night with no issues.
Any idea what changed today? My website uses the icons throughout the design and am supposed to share with the client tomorrow morning.
Fatal error: Call to a member function get_error_code() on a non-object in /home/melissaj/public_html/*************/**********/wp-content/plugins/better-font-awesome/lib/better-font-awesome-library/better-font-awesome-library.php on line 430
Code around line 430
Looks like it has to do with the version update?
/** * Output a <select> version selector. * * @since 0.10.0 * * @param array $versions All available Font Awesome versions */ public function version_callback( $versions ) { if ( $versions ) { // Add 'Always Latest' option. $versions['latest'] = __( 'Always Latest', 'bfa' ); /** * Remove version 2.0, since its CSS doesn't work with the regex * algorith and no one needs 2.0 anyways. */ foreach ( $versions as $index => $version ) { if ( '2.0' == $version ) { unset( $versions[ $index ] ); } }
Viewing 2 replies - 1 through 2 (of 2 total)