What's the deal with Deno? We talk with a major contributor to find out. Listen now.

Questions tagged [debugging]

Use it for questions about module and theme debugging (e.g. "How do I debug this situation?").

119 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
48 views

Is Windows XP and XAMPP able to render complex development sites in Drupal 7?

I am developing a site, and in the Linux server it goes very fast, with peaks of memory of 40 MBytes, according to Devel module. However, when I test it exactly the same in Windows XP and Xampp, it ...
0
votes
0answers
23 views

Number of protocol messages (Page not found)

Why does i get a gigantic number of protocol messages for just one "page not found" request? How can i fix it? Isn't this a huge leak for the performance?
0
votes
1answer
20 views

Theming property non-object when transversing the $node object

I'm getting this error when I run the code below, in reference to $color module: Notice: Trying to get property of non-object in cotyhouse_preprocess_html() function cotyhouse_preprocess_html(&...
0
votes
1answer
546 views

hook_views_pre_render -> how to access variables

I have a view of teasers, and would like to check the status of each node. Using hook_views_pre_render (in the template.php file of the theme), I can access: $view->style_plugin->row_plugin ...
0
votes
1answer
70 views

link field template syntax / display link field as an image / devel dpm (D7)

My link field is currently displaying as a URL as you can see here (yellow border). I have added dpm($items) to my link field template file. How do I read the dpm output or more specifically how do I ...
0
votes
0answers
1k views

How debug Drupal 8 errors

How should I debug OOP level errors in Drupal8? Error messages and backtrace seem to be useless. I have installed the pants module locally on the latest Drupal 8 environment. And got an error. Now, I ...
0
votes
1answer
440 views

User registration silently fails - how to debug?

On our Drupal 7 site, user registration silently fails. Drupal doesn't even reach the form's validation functions. What we checked: disabling javascript didn't help. Removing installed modules ...
0
votes
0answers
109 views

What can cause user names to disappear from admin pages?

On an existing Drupal system I see a strange phenomenon; user names disappear from the admin/people page. I've disabled the realname module but still it happens. How to debug such an issue? Edit: ...
0
votes
0answers
239 views

Rewrite drupal views $rows

I have a view which has to display a list of nodes: title, subtitle with the container that links to the single node. Difficulty comes when I want to display this view following this from bootstrap 3. ...
0
votes
0answers
129 views

How do I read the output of the devel module?

This is not asking where to find the output from devel, as I know where to find it. The question is how to read it and make sense of it. I need to find a field from a field collection, and then ...
0
votes
1answer
49 views

Debugging Imagecache related module

I'm trying to create a custom module that builds on top of imagecache and imagecache_actions to dynamically add an overlay to image thumbnails based on fields of the node its attached to. I used ...
0
votes
1answer
154 views

Omega - Debugging blocks only for specified role

Is it possible to see debugging blocks only for specified role? IDEA I made special role "theme developer" to see debugging blocks of Omega only for this role. When I check in *admin/appearance/...
0
votes
0answers
382 views

Debugging a module - show SQL errors?

I've created a module to create a new pre-built option list for a webform select list - the kind you can select here: My code looks like this: /** * Implementation of ...
0
votes
1answer
79 views

Internal Server Error and Machine Readable Names

I have installed a new local site using Drupal 8.1.10 which takes a lot of time whenever I give any command (lets say create a text field) and then sometimes it gives a 'Internal Server Error' after ...
0
votes
2answers
422 views

How to trace an Error: PDOException: SQLSTATE[23000]:

I'm trying to trace this error which is shown when I save a new basic page node. It seems to me that I am trying to save a duplicated title value in field_data_title_field, but it doesn't make any ...
-1
votes
1answer
919 views

This page is not working

When I visit my site, I get an error: This page isn’t working my---site.com is currently unable to handle this request. HTTP ERROR 500 I have taken the below steps but no luck. In shared ...
-1
votes
1answer
68 views

Ho to use devel on commerce_cart_order_refresh or similar

I want to implement the solution on this link Alter cart unit price and total amount. I want to use dpm on devel to look for available fields on line items but I doesnt show on. Code that I used: ...
-1
votes
1answer
66 views

Unable to render media from nid:******. Error: No file Id

I'm using node_embed module to embed nodes into the body of my main content type. This works fine but whenever I save a node with embedded nodes within its body I get the notice Unable to render media ...
-1
votes
2answers
606 views

Fatal error: Cannot redeclare

my website show a fatal error about 'cannot redeclare' [1]. In first moment I though that It was a concrete problem and I deleted some part of code though it was repeated. But the problem is yet, but ...

1 2
3