The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [error-message]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Errors relating to svg sanitizer (sanitizer.php) when trying to access setting

Need help to figure out how to resolve this issue.
1
vote
1answer
12 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
20 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
25 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
42 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
47 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 ...
0
votes
0answers
37 views

Database level fix for corrupted Structure section generating “unknown errors”

This is a partial duplicate of a direct support request raised through email. I have 2 Structure sections that have been behaving just fine in Craft 3.1.32.1: One of them continues to be fine But ...
0
votes
0answers
23 views

How do I add a custom Error List for Contact Plugin?

This should be covered in the documentation, but it's not. How do I modify the error messages that are displayed when a field is not completed (eg. the email field). Currently, the error returns "Your ...
1
vote
1answer
61 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 ...
0
votes
0answers
38 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
114 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
44 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
52 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
199 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
2answers
354 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
31 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
65 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 ...
2
votes
2answers
411 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
237 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
58 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
91 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
31 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
137 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
20 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
198 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
203 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
403 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
99 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
62 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
57 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
282 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
vote
1answer
47 views

What could the possible causes be for a mismatch between `craft_fields` and `craft_fieldlayoutfields` MySQL tables?

I'm debugging an Internal Server Error on a site developed by, well, not me. :p The site has an absolutely enormous Matrix field called "Modules", and the blocks in said field have so many fields that ...
2
votes
1answer
2k views

No input file specified - [proxy_fcgi:error] Got error 'Unable to open primary script: [PATH]/html/index.php (No such file or directory)\n'

I have a peculiar situation that is only happening on the root domain and NOT subdomains. For example, CraftCMS (2.6.3019) running on Apache with php-fpm works fine on dev.some-domain.tld and test....
1
vote
1answer
248 views

Craft 3 Deprecation Error from Twig/Extension/Core.php. How to fix?

I'm getting a deprecation error from not using .all() to query my elements: Looping through element queries directly has been deprecated. Use the all() function to fetch the query results before ...
4
votes
2answers
2k views

Craft CMS 3.0 - Log file?

I've been playing around with Craft 3.0 and am just about to develop a site using it. First thing I see when testing my frontpage template is "Internal server error", styled as a Craft error box. So ...
4
votes
1answer
1k views

How do I clear deprecation errors for looping through element queries?

I am getting this depreciation messages. Looping through element queries directly has been deprecated. Use the all() function to fetch the query results before looping over them. In the example ...
1
vote
1answer
189 views

500 Error on AWS bitnami instance

I have a fresh LAMP instance based on a bitnami image on AWS. All server requirements are met for Craft 2, but I'm getting a 500 error when trying to hit the site: site.com is currently unable to ...
1
vote
1answer
351 views

Craft 2 -> 3 Update /admin 404

I'm attempting to update a craft 2 site to craft 3. Following these instructions, I used composer to install Craft: https://docs.craftcms.com/v3/upgrade.html#if-you-want-your-directory-structure-to-...
0
votes
1answer
40 views

How to create any code from google spreadsheet like {.label} by Craft CMS

ex) original HTML source code <link rel="exhibit/data" type="application/jsonp" href="https://spreadsheets.google.com/feeds/list/~~~~/od6/public/basic?alt=json-in-script" ex:converter="...
1
vote
1answer
102 views

Internal Server Error: missing method or closure

Receiving the standard error: Craft\MatrixBlockModel and its behaviors do not have a method or closure named "sectionArticles". The problem is that this error doesn't make sense. Here is why: I ...
1
vote
1answer
276 views

Craft unable to determine if an update is available?

I just cloned a production site to run in a local environment to test and make sure the site was compatible with PHP7 in preparation for a production server upgrade. For the most part, it seems to ...
1
vote
1answer
76 views

Contact Form Required Fields Plugin – formEntry error

Has anyone experience with the ContactFormRequiredFields plugin? It works fine until the send button is pressed. It brings up an "Undefined variable: formEntry" error. When I look into the plugin I ...
1
vote
1answer
416 views

Issue upgrading Craft 2 to 3

I'm attempting to upgrade my Craftsite from 2 to 3, which I have done so, however I seem to be getting a few deprecation errors. The first error is: The auto-generated validation key stored at /...
1
vote
0answers
145 views

Updating Craft 3 from RC1 to RC7 throws ErrorException

I have two Craft CMS 3 websites using Vagrant/Homestead & VirtualBox as the local server. Both were on RC1, and when trying to update to RC7 I get this error: yii\base\ErrorException: unlink(/...
2
votes
1answer
797 views

Getting “Invalid verification code.” on password reset

I've had a few users on our site have trouble resetting their password. They go through our "Forget password" flow on the front-end of our site, receive the reset email, which allows them to create a ...
1
vote
1answer
333 views

PHP warning with composer on MacOS High Sierra: Failed to open stream

We have multiple people working on a craft site using Vagrant and Virtual Box for our local server. I am running MacOS Sierra, and everything works as expected. A couple of our other developers have ...
4
votes
1answer
346 views

Issues upgrading Craft 2 to 3 - Keep seeing Install Screen not Update screen

I'm trying to update my development site on MAMP from Craft 2 to 3. I've installed Composer and tried both upgrade methods (keeping the current directory structure & using the new structure). But ...
0
votes
1answer
71 views

PHP error after adding new field

I've added many fields in the past with success but today, on my local MAMP server, after adding a new field to a Matrix and saving, I'm getting a PHP error when I try to view the entry's admin page, ...
2
votes
3answers
532 views

Constant exception.Craft\HttpException.404 in logs

My log is getting hammered nonstop by the same error about every second (see image). Any idea what's going on here? Text is: Level error Category exception.Craft\HttpException.404 Message ...
1
vote
0answers
68 views

Creating coupon using Charge 2 plugin

I just updated the Charge 2 plugin to latest (version 2.2.1) and when I try to create a new coupon, I get this error: CDbException CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: ...