What version of the plugin do you have installed? I’m not seeing that error, and line 1280 has no reference to WP_Error.
Thanks,
Evan
Hi,
You tried to change what code? You are referencing our main class file, and not any specific line.
Evan
I copy past the entire code contained in the github to class.timeline-express.php file
And delete the old file, than upload the news php
I’m not sure what code you are referring to. The file that you linked to is the main plugin class file.
If you are referring to the custom images:
https://gist.github.com/EvanHerman/6bbc8de82f34b4cb3c5c
That code needs to go into your functions.php file.
Evan
Evan,
However, I deleted the plugin and re-installed it, and i have this error now
Fatal error: Cannot use object of type WP_Error as array in /var/www/sdb/f/2/lilian.rob/wp-content/plugins/timeline-express/classes/class.timeline-express.php on line 1345
I’m not following what you are doing/how you are attempting to resolve the issue.
As you can see on like 1345, there is no reference to WP_error.
https://github.com/EvanHerman/Timeline-Express/blob/master/classes/class.timeline-express.php#L1345
Please install a fresh copy of the plugin, and remove any additional code you may have entered, and things will work properly.
If you are unsure of how to edit functions.php or make the necessary adjustments to add the PHP snippet, you may want to consider hiring someone to carry out the task to make the necessary adjustments.
http://jobs.wordpress.net/
Evan
I already install a fresh copy of the plugin š
On line 1345, i have this following line code :
$split_dat_response = explode( ‘icons */’ , $response[‘body’] );
With a fresh install of the plugin, and no other alterations to the codebase you should not be running into issues.
The indaction of the error message and the content of the line concerned don’t help you at all ? š
No, unfortunately not. The error that you mention does not correlate with the line number – leading me to believe that you’ve added additional code somewhere.
Thanks,
Evan