Wordpress site images problems

Status
Not open for further replies.

ymmij

Member
Messages
41
Reaction score
0
Points
6
Hello,

I just came back to X10 after few years. Today, I transferred my Wordpress website to the server and I've realized that there are some issues with images

  1. When an article has a Huge It Gallery included, I see that error:
HTML:
Fatal error: Call to undefined method WP_Error::get_size() in /home/jtrx10mx/public_html/blog/wp-content/plugins/gallery-images/Front_end/gallery_front_end_view.php on line 254
  1. My images "manager " from Wordpress does not show any images.
  2. My background and header images don't load.
What should I do to solve there errors ?

Thanks
Jimmy
jtr.x10.mx/blog
 

AngusThermopyle

Active Member
Messages
319
Reaction score
52
Points
28
The problem is with your gallery plug in.
The best place to find the solution to the problem is the site of the plug-in developer.
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
This is an error in the PHP code, make sure the plugin is updated to the latest version and supports the latest version of Wordpress, line 254 is:
Code:
$old_size = $size ->get_size();

That is not valid.
 

ymmij

Member
Messages
41
Reaction score
0
Points
6
Thanks.

I don't understand why it was fine on my local server and it is not now....

Do you have a idea on my two other problems ?
 

AngusThermopyle

Active Member
Messages
319
Reaction score
52
Points
28
The src urls look like

http://127.0.0.1/wordpress/wp-content/uploads/2015/03/White_soft_sand_beach.jpg

127.0.0.1 works on your local machine, but needs to be your site URL on the Web.
 

ymmij

Member
Messages
41
Reaction score
0
Points
6
The src urls look like

http://127.0.0.1/wordpress/wp-content/uploads/2015/03/White_soft_sand_beach.jpg

127.0.0.1 works on your local machine, but needs to be your site URL on the Web.


Ok it is correct now. Thank you so much.

I hope I will find what to do for the gallery now...

Thanks again!
 
Status
Not open for further replies.
Top