I get a Server Error 324 whenever (SEE COMMENT #2) I save a node containing a paragraph-field. No matter if the field is empty or not. The node DOES get save though.
I do have two paragraph bundles, one with two text fields and one with an additional image field. Both are allowed in my content type. saving a node without a paragraph chosen works fine. as soon a i select one and "add a {myitemname}" the error occurs. I sometimes :( get the same error just DISPLAYING (SEE COMMENT #2) a node containing a paragraph. I can't access any node containing a paragraph then (all other nodes display fine) so that node/x does not work. After accessing node/x/edit (without saving!) the nodes display again.
Any ideas?

Comments

thommyboy’s picture

SORRY This was meant to go here https://www.drupal.org/node/2398583 but can't delete my own comments ;)

could this be related to https://www.drupal.org/node/2393287
as I get this problem whenever I clear the caches. I do not get the above mentioned error message though but guess it's some cache-related problem

thommyboy’s picture

Ok some more information of my investigation, it's weird but I can reproduce it every time:
- clear all caches via admin_menu adds a &destination=node/x to the url
- doing the clear while being on a node that contains paragraphs (resulting in reloading that node) WORKS FINE
- doing the clear on ANY other page gives the mentioned result that NO node containing a paragraph can be accessed with node/x (all other nodes/pages CAN be accessed!). Once node/x/edit is called for a node containing a paragraph after flushing the cache EVERY node containing a paragraph can be accessed again.

INSERTING a new node containing a paragraph like described in my initial issue only seems to result in an error while being in that special state after flushing the caches.

I found a couple messages like the following in the log but NOT every time the error is forced:

PDOException: SQLSTATE[HY000]: General error: ctor_args must be either NULL or an array in EntityAPIController->query() (Zeile 189 von /var/www/vhosts/MYDOMAIN/httpdocs/sites/all/modules/entity/includes/entity.controller.inc)

thommyboy’s picture

Title: Server Error 324 » Server Error 324 net::ERR_EMPTY_RESPONSE after flushing caches
Issue summary: View changes
thommyboy’s picture

https://www.drupal.org/node/2397193 did NOT help (I'm not using entitycache though...

thommyboy’s picture

For anyone reading this- on my site the error is gone since I updated some (other) modules. so there seems to be an interaction. The updated modules where:
- imagecache_actions
- features
- video
- admin_menu
- ctools

leymannx’s picture

Thanks a lot #2, had similar issue, after updating core to 7.43. It was one single page (happening to be the front page) that I can't get accessed anymore. 500. Same PDOException as you in the logs (but only after calling the page as guest). After I edited that node by it's URL node/xxx/edit and saved it, everything worked fine again. Don't have paragraphs on that site. But field collections. However, thanks a lot again!

gerson.analista’s picture

I had the same issue and this path https://www.drupal.org/node/889286#comment-5054494 solve my problem...

kenorb’s picture

jeroen.b’s picture

Status: Active » Closed (won't fix)

Won't-fix as the bug is in Entity API.