I upgraded from 2.2.2 to 2.3.1. When I try to publish new content from the CP, I now get the error:
Fatal error: Call to undefined function img() in system/expressionengine/fieldtypes/file/ft.file.php on line 202
The code in question is:
$thumb = img(array(
'src' => $thumb_info['thumb'],
'alt' => $filename
));I upgraded following the instructions exactly as listed in http://ellislab.com/expressionengine/user-guide/installation/update.html