Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [error-message]

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

0
votes
0answers
44 views

Object of class DateTime could not be converted to string

I am seeing the following error when I try to submit a front-end entry form, but I cannot find the cause. Object of class DateTime could not be converted to string Below is the error result from ...
1
vote
2answers
18 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 ...
0
votes
1answer
29 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
24 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
165 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
88 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 ...
1
vote
2answers
224 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 ...
3
votes
1answer
324 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
56 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
150 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
24 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
53 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
194 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
68 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
236 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
79 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(/...
1
vote
1answer
330 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
186 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
235 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
54 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, ...
1
vote
3answers
244 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
55 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]: ...
1
vote
1answer
89 views

MySQL Error 1064 when trying to create a Matrix

Running Craft Version 2.6.2994 on an EC2 instance that has PHP 7.0.21, and MySQL v 5.6.37 installed. When I try to create a new Matrix, I get the following error when saving. When I test this on my ...
0
votes
0answers
100 views

Commerce - Live Environment - “Trying to get property of non-object”

I have a site and been tested locally and on staging server and it checks out fine. I have moved it to the clients live server (Windows 2016) but when I hit the pay button via dummy gateway or ...
0
votes
0answers
142 views

500 installing Craft CMS on AWS Lightsail

I'm trying to get my Craft site up and running on an AWS Lightsail instance and for some reason I'm just getting this 500 error. It's a bitnami LAMP stack, which for some reason still uses PHP5.6. ...
1
vote
1answer
39 views

Can't save entries with dynamic subfolder path in Matrix

I have a Matrix field which contains several assets fields. Each has the dynamic subfolder path set to {owner.section.handle}, so I can reuse the Matrix in multiple sections, but keep the assets ...
1
vote
2answers
151 views

Freeforms - add error

I've created a plugin that will check for a unique email address in the submissions of Freeform. Because I don't want this check to be done with Ajax, I use the Freeform hook 'onBeforeSave'. Whenever ...
1
vote
1answer
100 views

Unable to set error message in onBeforeDeleteUser

This is related to How to overrule Craft error messages with custom setError()? but I don't have enough rep to comment on it. I have a plugin that needs to check if a user is ok to be deleted before ...
0
votes
1answer
138 views

Why is Craft CMS attempting to connect with SSL3

When either of two of our admin logins attempt to add a new admin user and select to send an activation email, we get this error message: Internal Server Error stream_socket_enable_crypto(): SSL ...
2
votes
1answer
2k views

Craft CMS . Service unavailable

I am trying to install Craft CMS on Ubuntu 14.04 running NGINX, I get this error log, any suggestions on how to fix this? 2017/08/26 16:18:08 [error] [exception.Craft\HttpException.503] exception '...
2
votes
1answer
169 views

Fixing Craft\HttpException Error

Recently moved site to a new server. Attempting to edit a post created before migration fails. The edit page reloads with the changes removed. Note: 1) this happens for only SOME, but not ALL of ...
1
vote
1answer
497 views

Craft asset urls not working

I have checked all other questions on stack exchange with similar titles and they don't seem to help my situation. I have added assets sources to craft CMS. but when uploading I get the following ...
1
vote
0answers
123 views

Control Panel freezes due to Access Control Checks?

Basically, I have no clue what this means? But, I am unable to edit any entries in Control Panel -- everything times out after I try to save and/or return to the main entries page. [Error] ...
1
vote
1answer
157 views

Craft\SproutForms_EntryModel and its behaviors do not have a method or closure named

I'm working on a site that was partially built by another dev and am having some trouble with Sprout Forms. It's partially working but when I add a new field (sailSeries) to the template (it exists ...
1
vote
1answer
67 views

Can't Upload JPEGs to live site (PEL error)

I'm unable to upload any jpg/jpeg files to the server, it just comes up with an alert saying "upload failed". After checking the PHP error logs for Craft I found this error message is being created ...
1
vote
0answers
190 views

Problem cloning existing Craft instance on staging

I copied my entire existing install on a new staging server for some developmental work. Right now the craft/config/db.php file has not been changed and it is still connected to the production ...
1
vote
0answers
88 views

SquareBit Charge Plugin: How to retrieve error messages from failed ajax call?

This is a continuation of How could I submit the Charge plugin using Ajax? I'm using the Charge plugin to handle my Stripe payments. I'm having to use ajax to submit the charge form before submitting ...
3
votes
1answer
276 views

Error when trying to generate a PDF in Craft Commerce

I am getting an error when trying to generate a PDF in Craft Commerce. The error is: Undefined index: (/srv/data/web/vhosts/www.nihonshu-sake.lu/craft/plugins/commerce/vendor/dompdf/dompdf/lib/...
0
votes
0answers
76 views

Can't delete entries

I get an error when I try to delete entries on my production server. It works when running locally (using Laravel Valet). Trying to delete an entry on the production server causes the following entry ...
1
vote
1answer
329 views

SQL Error - cannot add foreign key constraints

I'm uploading a site to a new environment and getting the following error: The assetfiles table structure:
2
votes
2answers
425 views

After updating, getting “Could not resolve the subpath” error

After updating to 2.6.2973, saving any entry fails, resulting in an Internal Server Error: "Could not resolve the subpath '{slug}'". I've read the similar errors on here which trace back to Matrix ...
1
vote
1answer
248 views

Updated the PHP on server. Getting this error: Please ensure that $craftPath is set correctly

I am running Amazon Ec2 instance and tried updating the PHP on the site using this guide: http://brianshim.com/webtricks/update-amazon-ami-php5-3-to-php5-4/ And now this is the error I am receiving: ...
3
votes
1answer
258 views

How to overrule Craft error messages with custom setError()?

I know I can set errors and notices in the CP with setError() and setNotice(). But it gets overruled by the default error message in my event. I have a beforeDeleteEntry event which stops the ...
1
vote
1answer
390 views

Returning a “is currently unable to handle this request. 500 Error” when client posts

I'm working with a client to resolve an issue that has appeared recently with a Craft site. Up until recently there were no issues with the site for my client, but she is now getting a 500 Error: ...
1
vote
0answers
33 views

Can't save work/edits to Craft,

We're developing a new site using Craft. When I'm at work I can save all the work I have done on the site fine. But when I'm at home (using BT broadband), my ability to save any edits I make to the ...
0
votes
1answer
96 views

Uploading local asset hangs and produces jQuery console error

So I have created an Assets field and am using it in one of my Entries. However, when I try to upload an image, it just keeps loading. I am getting the following console error: Any ideas why? Thanks!
1
vote
0answers
488 views

Getting a 503 Error before Craft installs - [error] [exception.Craft\HttpException.503] Craft\HttpException

In the browser, I'm getting a page that says: Service Unavailable Our site is temporarily unavailable. Please try again later. In my craft.log, I'm getting a 503 error that says: *******************...
2
votes
1answer
457 views

PHP Fatal error: Uncaught Error: Class 'Craft\DbConnection' not found

I'm getting a 500 error when trying to visit my page. Was able to track it down to this error in the logs, but can't seem to get it fixed. Updated the craft/app folder with the latest Craft version, ...
2
votes
1answer
696 views

MAMP: Craft can’t connect to the database with the credentials in craft/config/db.php

I'm using MAMP to setup a local environment for CraftCMS on Windows 10. I have followed all necessary procedures and have my local host and my database setup but I'm still receiving the error ...
3
votes
1answer
148 views

Problem upgrading Craft CMS?

When trying to upgrade Craft CMS automatically we get a message relative to the SSL certificate of the CDN being incorrect, though it works fine on a local machine. Craft was unable to install ...