• Resolved metzker

    (@metzker)


    I installed Timeline express however I get this error under settings:

    Cannot use object of type WP_Error as array in /users/metzker1988/www/wordpress/wp-content/plugins/timeline-express/lib/helpers.php on line 235

    can somebody help me with this?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Code Parrots

    (@codeparrots)

    Hey @metzker,

    It sounds like the API call to retrieve the icons from the font awesome API was unsuccessful but did not return the error properly.

    It could be that your servers IP was blocked from the API endpoint or another cause. However, we do bundle the font awesome stylesheet locally incase it doesn’t load through the API call.

    You can test to see what the error response of the API call is by checking the response of

    $test = wp_remote_get( 'https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css' );
    
    print_r( $test );

    Which should tell you why the call failed.

    You can also try forcing it to load locally instead of through the API by adding the following to your themes functions.php file:

    define( 'TIMELINE_EXPRESS_FONT_AWESOME_LOCAL', true );

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error helpers.php line 235’ is closed to new replies.