Warning: [mysql error 1054] Unknown column 'last_visit' in 'field list'
UPDATE user_infos
SET last_visit = NOW(),
lastmodified = lastmodified
WHERE user_id = 1
in /var/www/photos.samwilson.id.au/include/dblayer/functions_mysqli.inc.php on line 845
I'm getting the above error on lots of pages (e.g. https://photos.samwilson.id.au/picture/6834 ), after upgrading to 2.9.2:
**Warning: [mysql error 1054] Unknown column 'last_visit' in 'field list'**
```
UPDATE user_infos
SET last_visit = NOW(),
lastmodified = lastmodified
WHERE user_id = 1
in /var/www/photos.samwilson.id.au/include/dblayer/functions_mysqli.inc.php on line 845
```
My set up is as follows:
- Piwigo 2.9.2
- Operating system: Linux
- PHP: 7.0.22-0ubuntu0.16.04.1 (Show info) [2017-12-05 10:21:51]
- MySQL: 5.7.20-0ubuntu0.16.04.1 [2017-12-04 21:21:51]
- Graphics Library: External ImageMagick 6.8.9-9
- Plugins: OpenStreetMap.
<!-- github-sync-id:279222890 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I'm getting the above error on lots of pages (e.g. https://photos.samwilson.id.au/picture/6834 ), after upgrading to 2.9.2:
Warning: [mysql error 1054] Unknown column 'last_visit' in 'field list'
My set up is as follows:
I've just found http://piwigo.org/forum/viewtopic.php?id=27923
Running the following updates fixed this:
That solved my problem too : )
Thanks !