Questions tagged [error-message]

Information about an error displayed when an unexpected condition (error) occurs.

Filter by
Sorted by
Tagged with
1
vote
1answer
11 views

returning HTML in $event->sender->addErrors doesn't work

I have a plugin which is checking if there is a duplicate entry before save. I'm trying to give the user back an anchor to the entry which exists so my client can switch without searching for it in a ...
0
votes
0answers
20 views

Dropdown form fields are not submitting properly

I am having issues with an entry form that updates current entries. I have a field called "Driver Type" and its handle is "driverType". It is set as a drop-down field on the admin ...
0
votes
0answers
40 views

Stuck upgrade from Craft 3.4

Getting a bit stuck on a site upgrade from 3.4 (3.4.29.1). After updating via composer getting DB errors. Initially: Integrity constraint violation: SQLSTATE[23000]: Integrity constraint violation: ...
0
votes
0answers
12 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 ...
1
vote
1answer
35 views

500 Internal Server Error when accessing admin

I just get a server error when trying to access /admin, or any other URL. This is a completely new installation on a staging server. The 'Welcome' page shows OK. I'm guessing this is a .htaccess ...
1
vote
1answer
20 views

Trying to create a new field returns “General Error: 1030 Got error 1 from storage engine”

I recently updated the site to 3.5.5, so not sure if this has anything to do with it. It's been a while since the last field we created, so can not say for sure if this is correlated. Database on this ...
0
votes
0answers
30 views

Craft CMS image src error

Good morning, I have inherited a Craft CMS site from a previous developer, and am running into issues when looking to add images to the site. Following instructions I grabbed the copy of the SQL ...
1
vote
1answer
24 views

Missing field validation on user account edit

I've been implementing a user account page with Craft Commerce and copied over the template found here: https://docs.craftcms.com/v3/dev/examples/user-profile-form.html#simple-profile The issue is ...
2
votes
2answers
21 views

{{ category.title }} error with category groups

I feel like I'm missing something totally obvious here, but how do I output a category name for a category that is part of a category group on a single entry layout? The name of the category group is '...
0
votes
0answers
54 views

Error after Updating Craft

After submitting the last Craft Update over the CP i got the following error: Warning: require(/home/xxx/xxx/xxx/vendor/craftcms/cms/bootstrap/console.php): failed to open stream: No such file or ...
1
vote
2answers
65 views

Problems transferring updates back to live server

For quite a long time i've updated and amended Craft by taking a copy of the files and database (.zip) from the live server, making the updates/changes/amendments locally and then transferring ...
1
vote
1answer
69 views

Matrix Error - “Field Limit is too big for your chosen Column Type”

I have a matrix field which is used a my main Body content field. The site has just been updated to the latest version of Craft and I tried to add a block to the matrix field but when i try to save it ...
0
votes
1answer
328 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 ...
2
votes
1answer
68 views

How to duplicate entries and loop them without getting a Twig or deprecation error?

I'm trying to duplicate entries inside a macro, which will displays duplicated items inside a carousel. It's not possible to merge Element Queries. Even if it's possible to merge IDs, merging an ...
1
vote
1answer
70 views

Craft admin twig templates broken somehow

I am a front end designer building my site locally. This is the first time I've built in Craft and things have been coming along fine but now I'm getting the following error on every craft admin page ...
1
vote
1answer
277 views

Error sending email: Process could not be started [The system cannot find the path specified. craft cms

I'm testing my email and I'm seeing the following error in the web logs: "Error sending email: Process could not be started [The system cannot find the path specified. craft cms" Does anyone know ...
0
votes
0answers
22 views

Homepage shows but everything else puts out 404 errors

My homepage template is loading but everything else puts out a 404 error (server error). Can't access the control panel or any other sites. I have transferred my my project from a local server to a ...
1
vote
1answer
168 views

Bad Request: Post Request Required when saving hyperlink in specific redactor field

I'm having a strange issue here. I have a site running Craft 3.3.7. I have an entry with a matrix field with several redactor fields in it. In one of those redactor fields, I have a paragraph of text. ...
1
vote
2answers
480 views

HTTP 503 – Service Unavailable error

I've cloned a Craft 3 repo that was created by another developer and I'm trying to get it running on my local server but I get HTTP 503 – Service Unavailable – craft\web\...
0
votes
0answers
55 views

Craft CMS Content has Disappeared?

My content within all of my pages has disappeared. The website is only displaying the header and footer on each page. When I try to restore the internal page to it's previous version to get the ...
1
vote
1answer
265 views

Internal Server Error when adding new Fields

I was adding new fields to my Craft 3 install using the field manager plugin. Suddenly I am seeing a Internal Server Error when trying to access the admin area. The front end looks fine. Anyone know ...
1
vote
1answer
131 views

Deprecation Errors - How to Fix?

We are in development of our new site in Craft 3 and we are getting some deprecation errors. This is keeping us from using Craft Commerce for our ordering page. Any suggestions on how to fix this? ...
1
vote
1answer
38 views

Can't access “settings”

I can access "settings" in the control panel. Getting these errors: Please help. yii\base\ErrorException: Undefined property: DOMElement::$tagName in /home/I/ingvildholmno/vendor/enshrined/svg-...
1
vote
1answer
113 views

Can access admin page (now), but not any site pages…yii not found http execption

Have not accessed my local .test sites in a bit. I tried today. I am getting a series of errors. At first I could not access any page to include the admin page. I ran Composer update from the ...
1
vote
1answer
143 views

devMode false, Internal Server Error

Wanted to test 404 error page on our beta site. Set devMode to "false" in general.php. When I do this and try to view inner pages on the website, we receive an "internal server error". All inner pages ...
1
vote
2answers
302 views

Craft on WSL permissions error

For anyone installing install Craft on WSL (Windows Services for Linux)... WSL has enough traction with developers that I decided to take the dive, but I'm having trouble getting permissions straight ...
1
vote
1answer
206 views

Class 'Craft' not found

I am new to PHP and trying to call reCaptcha API in CraftCMS. I have the following variable: $captcha = Craft::$app->getRequest()->getParam('g-recaptcha-response'); But I get the following ...
1
vote
1answer
159 views

SSL now CP unknown errors

I have a Craft 3 site that's been running on a production server. Recently we switched over to https but this has caused issues in the CP (multiple 'An unknown error occurred' red flags, can't view ...
1
vote
0answers
172 views

An unknown error occurred message, only on live server

Please can anyone give me some pointers. Just logged into the backend on an older (but live) 3.0.26.1 project. CP is now flashing multiple 'an unknown error occurred' messages on every CP request. ...
1
vote
1answer
532 views

Migrating Server - Craft isn't installed yet

I've set up a new Forge server and connected the repo to my site. I've also uploaded the database and copied over the db credentials to the dotenv file. However when I visit the site control panel ...
1
vote
1answer
51 views

Error creating new volume

When creating a new volume (same process as the other 3 volume I currently have and which are fine, I'm running into the following error). Any help would be appreciated.
1
vote
1answer
124 views

Unique URI error

I am getting the following error when trying to save a structured entry: Could not generate a unique URI based on the URI format. Title of entry is: Hells Gate Mud Bath & Spa Slug: hells-gate-...
1
vote
1answer
483 views

TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer, null given

When I go to control panel > Settings > Fields, I get a page that throws TypeError: Argument 1 passed to craft\services\Fields::getGroupById() must be of the type integer, null given This is ...
1
vote
3answers
1k views

Unable to run console commands (Craft 3, MAMP)

This was asked and solved previously, but for Craft 2, see Error Connecting To (MAMP Pro) Database in Console Command. Unable to make it work here. In short, running console commands like ./craft abc ...
1
vote
2answers
61 views

Upload failed. The error message was: "SQLSTATE[23000]: Integrity constant violation:

I'm getting this strange error when I'm trying to upload an .jpg in the assets. Env: Localhost Craft version 3.1.8 MAMP: - PHP(7.2.7) - MySQL: 5.7.21 Upload failed. The error message was: "...
1
vote
1answer
104 views

Assets are not loading anymore (maybe an update)

I just noticed that I can't see my files if I go into the assets section. An Error blinks up and says "An unknown error occurred". In the front-end, I see every file and I can upload files to an asset ...
4
votes
2answers
884 views

“Craft CMS does not support backtracking to this version. Please upload Craft CMS 0 or later.”

I have a problem related this and this question. I began updating a long time ago (2017?) and got the error "Craft CMS does not support backtracking to this version. Please upload Craft CMS 0 or later"...
1
vote
1answer
298 views

Getting PHP Error on upgrade from 3.0.36 to 3.1

I just updated to 3.1 and I'm getting the php error: PHP Notice – yii\base\ErrorException Undefined index: settings It probably has to do with the Cheat Sheet plugin. I deleted that folder in the ...
1
vote
1answer
84 views

Best way to find a deprecation error with no location hint?

I'm getting a deprecation error about looping through element queries, but in my markup all my loops are being setup with the .all() method, so I'm struggling to find this. And it's one that is ...
1
vote
1answer
182 views

Craft 3 - Moving assets between folders causes apache connection to max out

In Craft 3, I keep running into an issue when I try to move a large amount of files (around 200) by dragging and dropping from my “Holding” folder into a “Live” folder using Craft Assets section. Both ...
1
vote
0answers
49 views

Display Stripe card error in Craft 3 front-end entry form template

I have a custom plugin set up to speak to Stripe's API and process a card charge. The code triggers in a craft\elements\Entry::EVENT_AFTER_SAVE event because I want to pass along certain data about ...
1
vote
1answer
2k views

How can I test my 500 error page works

I had a problem with my cloud server and all my sites were generating 500 errors. The response page the visitor saw varied between Craft 2, Craft 3 and ExpressionEngine 2 sites. The Craft 3 ones ...
2
votes
0answers
31 views

Asset Upload Form Field Error States

I currently have an asset upload field, but I'm trying to make it call errors back if the image isn't an extension that's set within the field, allowing users to understand why the form didn't save. ...
1
vote
1answer
428 views

Maximum execution time exceeded when adding or updating plugins from the Control Panel

When I try to install or update a plugin from the Control Panel, I see a message "Updating Composer Dependencies" and then the following error occurs. I'm running Craft on a local environment. ...
1
vote
1answer
339 views

Assets page “An unknown error occurred”

I'm suddenly unable to load my site's assets page. All of my asset sources are local, and loading the main assets page or any source folder or subfolder results in "An unknown error occurred." being ...
1
vote
1answer
686 views

Install Zoho CRM SDK (or any SDK for that matter)

For a client I need to connect a rather complex contact form with the Zoho CRM. They're offering a PHP SDK which sounds great, but I can't get it to work. It's very likely that I'm just stupid, ...
1
vote
1answer
144 views

How do I fix a deprecation error for DateTime::year?

I am trying to work through deprecation warning. I have not touched Craft in a few months, so I am a bit rusty. The Deprecation Message is: DateTime::year is deprecated. Use the |date('Y') filter ...
1
vote
0answers
119 views

Error message regarding password in user registration form

I have a custom registration form in my Craft site based on this info. https://docs.craftcms.com/v2/templating/user-registration-form.html And I want to show error message when the password doesn't ...
1
vote
2answers
89 views

Sending Error Message to Template With No Logged In User - Craft 2

I'm working at getting error messages sent from my plugin to my template (on the front end), when there is no session (no logged in user). The plugin is for LDAP authentication. Edit: For ...
2
votes
1answer
511 views

Custom 503 template

I am preparing to upgrade a site from Craft 2 to 3, and would like to make a custom template to deal with the 503 Service Unavailable when the migrations need to be run. I have set devMode to false ...

1
2 3 4 5