• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Undefined array key "auth_token" contact.php

Status
Not open for further replies.
Version
4.0.8
PHP version
8.2.7
Database driver
MariaDB
Database version
10.4.13-MariaDB
Web browser
Chrome, Edge, Firefox

evil

Chevereto Member
▶ Reproduction steps
  1. Go to contact page
  2. Send message
😢 Unexpected result

none

📃 Error log message

Chevere\Throwable\Exceptions\ErrorException thrown in /content/pages/default/contact.php:32

# Message [Code #2]
Undefined array key "auth_token"

# Incident ID:64b3d76c3b491

# Time
2023-07-16T11:41:32+00:00 [1689507692]

# Stack trace
------------------------------------------------------------
#0 /content/pages/default/contact.php:32
{main}()
------------------------------------------------------------
#1 /app/src/Legacy/G/Handler.php:391
require(string(length=57))
------------------------------------------------------------
#2 /app/src/Legacy/G/Handler.php:167
Chevereto\Legacy\G\Handler->loadTemplate()
------------------------------------------------------------
#3 /app/legacy/load/web.php:501
Chevereto\Legacy\G\Handler->__construct()
------------------------------------------------------------
#4 /app/legacy/entrypoints/index.php:25
require_once(string(length=47))
------------------------------------------------------------
#5 /index.php:12
require_once(string(length=56))
------------------------------------------------------------
 
Solution
pages.php and contact.php come from the latest distribution 4.0.8

Ok, topic can be closed. The problem was that a few versions ago I had a custom version of the contact page and its basic version did not exist in the sql database. So I removed the current version of the contact.php page from the database and manually inserted an empty default record for the contact page with id 3 as in a freshly installed system and now it works.
pages.php and contact.php come from the latest distribution 4.0.8

Ok, topic can be closed. The problem was that a few versions ago I had a custom version of the contact page and its basic version did not exist in the sql database. So I removed the current version of the contact.php page from the database and manually inserted an empty default record for the contact page with id 3 as in a freshly installed system and now it works.
 
Solution
Status
Not open for further replies.
Back
Top