Seems like a PHP fatal error.
Could you check your PHP logs and paste the error message here?
Edit:
Could reproduce it.
Fatal error: Call to undefined function the_image() in /wp-content/themes/twentythirteen/content-image.php on line 13
Thread Starter
alun
(@alun)
The two I’m getting are:
PHP Fatal error: Call to undefined function the_image() in /wp-content/themes/twentythirteen/content-image.php on line 13
and
PHP Warning: Invalid argument supplied for foreach() in /wp-content/themes/twentythirteen/content.php on line 28
I think the second is when I’m calling a page with many posts on.
I’m also getting the above error:
FATAL ERROR: CALL TO UNDEFINED FUNCTION GET_THE_IMAGE() IN C:\WAMP\WWW\THREE.SIX\WP-CONTENT\THEMES\TWENTYTHIRTEEN\CONTENT-IMAGE.PHP ON LINE 13
‘scuse the all caps – currently running it under WAMP which shows pretty error messages. Can’t find any reference to “the_image” as a function anywhere in the directory I have the beta installed in – besides line 13 of content-image.php
Thread Starter
alun
(@alun)
Thanks, that’s working great now.
I’ve found the same problem
Fatal error
: Call to undefined function the_image() in
/home/pivarico/public_html/wp-content/themes/twentythirteen/content-image.php
on line
13
and I’ve read the simple patch:
from the_image ()
to the_post_format_image ()
THanks