Hello community members,
I’ve searched the forum extensively but couldn’t find a solution, so I’m posting here for help.
I have two websites — one running Chevereto V3 Free and another on V3 Paid. When attempting to update both, I’m encountering similar errors.
Environment details:
🔗 Upgrade to V4 Docs
🔗 Using app/env.php Docs
Following the steps:
1. When accessing /update, the error log shows:
Message: Error executing the Chevereto update query.
I suspect this might be related to my previous theme’s custom templates, as it seems to be checking many tables.
I deleted the old files and uploaded the V4 files, but the issue persists.
2. When opening the dashboard, another error appears:
Message: Undefined array key "disk_used"
I believe this might be related to the local storage URL or path configuration, but I couldn’t find any references in the forum regarding this.
3. I can still view previously uploaded images, but clicking on any thumbnails (posting on blogs) leads to an error message. I can upload new images as well with same result.
Message: Undefined array key "like_user_id" in Image.php (line 377)
Code snippet in Image.php:377 >
Other similar errors appear in the same file.
Also..
The profile page and settings loads fine, but the dashboard remains inaccessible.
If I can’t resolve this, I might revert to V3 on a separate VPS running PHP 7.4.
I apologize if this seems like a complicated or basic issue that I unable to find a solution.
Any help or guidance would be greatly appreciated.
Thank you very much!
I’ve searched the forum extensively but couldn’t find a solution, so I’m posting here for help.
I have two websites — one running Chevereto V3 Free and another on V3 Paid. When attempting to update both, I’m encountering similar errors.
Environment details:
- Hosting: Hetzner VPS with cPanel
- PHP versions tested: 7.4 to 8.4
- Database: MariaDB
🔗 Upgrade to V4 Docs
🔗 Using app/env.php Docs
Following the steps:
- Removed the app/vendor folder from my Chevereto V3 installation.
- Replaced Chevereto V3 files with V4 files.
- Switched PHP to version 8.
- Created app/env.php (as per the documentation).
1. When accessing /update, the error log shows:
(Please see attached “update.php.error.txt”)
Message: Error executing the Chevereto update query.
I suspect this might be related to my previous theme’s custom templates, as it seems to be checking many tables.
I deleted the old files and uploaded the V4 files, but the issue persists.
2. When opening the dashboard, another error appears:
(Please see attached “dash.php.error.txt”)
Message: Undefined array key "disk_used"
I believe this might be related to the local storage URL or path configuration, but I couldn’t find any references in the forum regarding this.
3. I can still view previously uploaded images, but clicking on any thumbnails (posting on blogs) leads to an error message. I can upload new images as well with same result.
(Please see attached “thumb_click.php.error.txt”)
Message: Undefined array key "like_user_id" in Image.php (line 377)
Code snippet in Image.php:377 >
PHP:
if ($requester !== []) {
if (version_compare(cheveretoVersionInstalled(), '3.7.0', '>=')) {
$joins[] = 'LEFT JOIN '
. $tables['likes']
. ' ON '
. $tables['likes']
. '.like_content_type = "image" AND ' << this is line 377
. $tables['images']
. '.image_id = '
. $tables['likes']
. '.like_content_id AND '
. $tables['likes']
. '.like_user_id = '
. $requester['id'];
$columns = array_merge($columns, self::COLUMNS['likes']);
}
}
Other similar errors appear in the same file.
Also..
The profile page and settings loads fine, but the dashboard remains inaccessible.
If I can’t resolve this, I might revert to V3 on a separate VPS running PHP 7.4.
I apologize if this seems like a complicated or basic issue that I unable to find a solution.
Any help or guidance would be greatly appreciated.
Thank you very much!