Questions tagged [error]
The error tag has no usage guidance.
205
questions
0
votes
0
answers
34
views
Error when creating new entry! HTTP 404 – Not Found – yii\web\NotFoundHttpException
Any help is appreciated! I just downloaded and setup craft using composer. I went to create my first blog entry, and as soon as I click "New Entry" I get this error. Setup went smoothly and ...
2
votes
1
answer
49
views
Variable entry does not exist on blog post
We just installed the CMS and like it very much. On the other hand while following the basic tutorial we seem to get the error "Variable "entry" does not exist." on the most simple ...
1
vote
1
answer
25
views
I'm getting an wired error from my Live server when i'm trying to register as a user and sending notification
Here is the error log which I'm getting while register a user. I'm using craft cms 3.8.5
2023-04-19 09:59:39 [-][-][-][error][ParseError] ParseError: syntax error, unexpected ')' in /var/www/app/...
0
votes
0
answers
90
views
SQLSTATE[HY000]: General error: 5 Out of memory (Needed 418490224 bytes)
I'm building a webtoon with CraftCMS 4 but facing this issue: SQLSTATE[HY000]: General error: 5 Out of memory (Needed 418490224 bytes)
Screenshot: https://i.stack.imgur.com/oMKud.png
All entries are a ...
1
vote
1
answer
64
views
Upgrade from craft 2 fails due to read-only mode
I'm trying to upgrade an old Site from Craft 2.9.x. The goal is to eventually upgrade to Craft 4.x, but I thought it would be easier to first update to Craft 3.x. When trying to Finish up my database, ...
0
votes
1
answer
78
views
Accessing eager loaded Collections data
So I have a query to return series. At the same time I eager load the series client.
{% set series = craft.entries()
.section('series')
.inArchive(false)
.with('client')
.collect()
%}
...
1
vote
1
answer
94
views
Website transfer places /web in all urls, cs and js not loaded when moved up directory
I just transfered my website from one server to one.com. Now nothing works anymore cuz apparently one.com wants the index.php in the root directory but my index.php is in the "web" directory....
1
vote
1
answer
77
views
Matrix field entry link corrupted
Some of my links coming from a matrix field with entry became corrupted. Anyone had this before and knows how to fix it?
1
vote
1
answer
101
views
Http 503 — Service Unavailable error after successful craft 4 installation. Can't even load a hi.txt file in web root
After successfully getting my DB setup and installing Craft through the command line, I'm getting a persistent 503 error on even a simple hi.txt file
https://saltandpepper.recipes/hi.txt
On the admin ...
1
vote
0
answers
63
views
Displaying errors on frontend profile form
I have a user profile form on the frontend that doesn't display errors for a URL field.
The field handle is 'website'.
This is my code:
{% macro errorList(errors) %}
{% if errors %}
{{ ul(errors, {...
1
vote
0
answers
52
views
Internal server error - Cannot serve directory
Randomly a couple of times a day my website throws an Internal Server Error that fixes itself within minutes. Checking the logs (have replaced my username with 'username') it looks like a server issue ...
1
vote
1
answer
2k
views
Tailwind CSS: require(...) is not a function error in VSCode
Maybe it's something stupid I'm overlooking, but nevertheless I tried everything to overcome this error. I followed the tutorial step by step, so maybe I'm looking totally in the wrong direction here :...
1
vote
3
answers
204
views
Importing DB Errors: craft_resourcepaths
On the latest version of Craft, (3.7.25.1) after updating I'm getting regular errors when importing a backup into production servers during deployments. Here is an example of the error:
error: The ...
1
vote
0
answers
556
views
craft\web\Request::cookieValidationKey must be configured with a secret key
For a while our Craft CMS webshop show errors in the control panel.
This happens 25%-50% of the requests. Looking in the phperror log a lot of this errors are logged:
[13-Dec-2021 23:00:05 UTC] An ...
1
vote
1
answer
351
views
Craft CMS admin intermittent internal server errors
I'm getting intermittent Internal server errors in Craft admin.
This has happened out of the blue on an active site. Craft pro 3.041
phperrors.log:
PHP Notice: Undefined index: constraint_name in /...
1
vote
1
answer
272
views
Migrating Craft CMS 2 to 3
I have a craft CMS 2 codebase that a former developer had made for running on our PHP 5 server. Recently, the server upgraded its PHP version to 7.3 so I am trying to migrate the website to a later ...
0
votes
0
answers
260
views
Can someone help me solve for this error message: "Craft can't connect to the database with the credentials...."
Can someone help me solve for this error message: An exception has been thrown during the rendering of a template ("Craft can't connect to the database with the credentials in craft/config/db.php....
0
votes
0
answers
60
views
Update following site import leads to fatal error
Today, I have moved a fully up-to-date installation to a new server, and three times now on a seemingly successful installation, after going to update to the latest version (the existing install is up ...
0
votes
0
answers
188
views
internal server error when creating new field
whenever i try to save a new field I get an internal server error in the backend of craft 3.
This happens whenever i want to create or modify a field that has an input like date, plain text, reactor......
1
vote
1
answer
328
views
Redirect to Craft CMS Website Results in 403 "Request forbidden by administrative rules"
My Setup
I added a stripe checkout redirect from my craft website using Stripe Checkout so I can accept payments from customers using payments handled by stripe.
In simple, I use AJAX on the frontend ...
1
vote
0
answers
329
views
HTTP 404 – Not Found – yii\web\NotFoundHttpException
New to Craft and following the tutorial to Create the blog. When trying to browse the created blog page get 404 error below.
HTTP 404 – Not Found – yii\web\NotFoundHttpException
Template not found: ...
0
votes
0
answers
59
views
404 accessing the admin site - not rewrite related
I'm struggling with a downloaded copy of a clients Craft 3 based website.
I've downloaded the entire project, and have tweaked the .env file and .htaccess for my local mac's setup.
The site itself ...
1
vote
1
answer
416
views
Basic 404 setup not working
I look at past Q & A about this, but am still perplexed.
Not logged in to CP or frontend
I have a simple template called 404.twig which resides in the templates folder
I can access the template ...
0
votes
0
answers
70
views
Need help: multiple request throttling
I have an issue in the CraftCMS back office when I try to export all entries.
When I try to export all the entries in expanded mode
it takes ~1min but every minute the back office send another ...
0
votes
0
answers
65
views
Craft is not installed yet with a REDIS error
Our website is on the latest version of Craft 3.4, using REDIS (redis_version: 4.0.9) for Sessions and Caching.
Today the website stopped working with the well-known "Craft is not installed yet&...
1
vote
1
answer
83
views
Twig Runtime Error on settings/general (value: system.name)
When I go to settings/general in the CP i get this Twig Runtime Error. Does anoyone here know what to do to fix it?
0
votes
0
answers
64
views
All URLs changed path after upgrading to 3.6?
I'm not sure exactly what has changed here. All links are directing to "site.test/admin/site.test/blog/{slug}", when clicking on the link from the entry page. Before they would be "site....
1
vote
1
answer
58
views
After transferring local to server, Twig Runtime Error: Impossible to invoke a method all() on an array
I transferred site from MAMP to Arcustech server and the Admin panel works fine, I even updated to 3.6.6, but the front-facing site throws an error:
Twig Runtime Error: Impossible to invoke a method ...
0
votes
0
answers
176
views
Internal Server Error when updating slug
I'm getting an internal server error when I try to update the my entry's slug on prod, but not on dev or locally. It's happening across entries, it doesn't seem to be specific to a certain entry. Any ...
1
vote
1
answer
534
views
Feed me plugin, cURL error 60
This is my first time using the Feed Me import plugin (craft 3.5.15.1). I'm pointing the feed URL to a file in the public root, e.g. http://dev.mydomain.com/import.csv. When executing the import, I ...
2
votes
1
answer
5k
views
"Error: Unknown package has no name defined" when updating Craft 3
I'm getting "Error: Unknown package has no name defined" when updating a site from 3.0.41.1 to 3.5.15.1
I had read a reinstall of composer had fixed this for someone else, but hasn't for me. ...
1
vote
1
answer
755
views
Database Exception Column not found: 1054 Unknown column 'configVersion' in 'field list'
I get this Error when i want to save a Field. Also when i want to create a new field. I can hit the goback button and strangely the field gets still saved.
I work local and have project config ...
1
vote
1
answer
56
views
Admin panel not working without language code
I've migrated a website with CraftCms 2 from local to a pre-production server. Everything is working fine but, I don't know why, I only can go to the admin panel with locale code before /admin. I mean,...
0
votes
0
answers
163
views
Undefined property: DOMElement::$tagName
When I am logged into the admin control panel and I go to "Settings", I receive the error "Undefined property: DOMElement::$tagName".
Here is the Stack Trace:
yii\base\...
1
vote
1
answer
195
views
Error on functions in queue: “Session does not exist in a console request.”
I already experienced this same problem with Craft Commerce a while ago (Error on functions in queue: "Session does not exist in a console request.") and got a solution that solved the ...
1
vote
2
answers
807
views
Site moved to new server - Error 500
I inherited a site running craft and I was asked to move it to my server to host it. The other developer zipped the files and made a database dump for me.
Usually, when I move a site, they have Cpanel ...
0
votes
0
answers
203
views
Error when setting field length on global
I have set up several globals to store the URLs of a company’s social media accounts. Each one is a plain text field, and each one is limited to 254 characters.
This works fine with three of them, but ...
0
votes
0
answers
109
views
Website Stuck on Load after few requests
I'm facing a weird issue here.
I'm developing a CraftCMS based website and all seem to be working fine, until after a few requests (clicking around 4 ~ 5 requests) the website seem to keep loading and ...
1
vote
1
answer
110
views
Updates always error out
Every time I try to run an update, I get these errors. Installing plugins won't work either. I'm using Media Temple / Grid server hosting. I've increased the file size limits in php.ini as well. But I'...
1
vote
1
answer
198
views
500 Error after Dreamhost server upgrade
Dreamhost upgraded my VPS overnight and I immediately got a 500 error. The site currently works on another Dreamhost VPS (the original below) and an Arcustech server.
After checking the error logs I'm ...
2
votes
2
answers
245
views
Remove $_SERVER and DB Queries from logs in 3.4+
How can we disable Craft from logging MySQL queries and $_SERVER object into the logs?
For our team, this creates additional noise that's not needed for us to debug issues.
Thanks :)
2
votes
1
answer
147
views
Error on functions in queue: "Session does not exist in a console request."
I get the following error on multiple order mails from Craft Commerce. The error points out to the lines where a macro is called:
Email template parse error for email “New order”. Order: “e35f244”. ...
1
vote
1
answer
136
views
Error when trying to update Craft
I'm pretty new to CraftCMS and am trying to install updates for a client. I am getting this error and I don't really know what it means. Any help of brief explanation for this would be appreciated.
...
0
votes
0
answers
24
views
spinning wheels on dashboard columns - can't edit site - unknown error
I'm getting constantly spinning wheels on columns on dashboard and can't edit the site - https://timetoshineleeds.org/ - but live site is fine. Got 'error unknown' message when going into dashboard.
...
1
vote
1
answer
21
views
Disabled Plugin Now Cannot Access Admin
As per the title, I have disabled a plugin in admin and now the admin is not accessible. It returns an Internal Server Error.
Any help would be appreciated
2
votes
1
answer
109
views
"Field Limit is too big for your chosen Column Type" error on already existing fields when updating matrix
I'm getting the following error when I'm trying to update a matrix:
"Field Limit is too big for your chosen Column Type.""
I'm trying to add a new block type but this error keeps getting up on ...
1
vote
1
answer
39
views
Disabling caches in Safari results in server errors while developing Craft 3 site
I'm running into a vexing issue while developing a personal site in Craft. I have a new Craft 3 site, installed manually. I'm developing live on the server in a dev subdomain. My .env sets the site to ...
1
vote
2
answers
2k
views
Setting unknown property: craft\models\Update::packageName
I am taking over a Craft website for a client. It is currently working fine on the hosting environment.
I have pulled the website down locally from the hosting environment - the exact same files and ...
1
vote
1
answer
120
views
Directories and files being created by "root" user, inaccessible to CMS
I'm new to Craft and have been asked to support a live site that is running on it. I've run into a problem that seems to be due to files on the server being created by the wrong user.
The vast ...
1
vote
1
answer
980
views
Database Exception: Column not found: 1054 Unknown column 'position' in 'order clause'
I deployed the project from the git repository on hosting. When trying to open the homepage I get the following error:
Database Exception
SQLSTATE[42S22]: Column not found: 1054 Unknown column '...