This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

views_handler_field.inc Maximum function nesting level of '100' reached

Hi. I have faced an issue with method option definition() in views_handler_field.inc

Sometimes i have this php exception "Maximum function nesting level of '100' reached" in option definition() method. I have increased  xdebug.max_nesting_level to 1000 but still having this issue. When i got this issue - the main page of my site is broken and i have problems with styles and scripts - the are not loaded and the html code of my main page is broken.

Could you help me to solve this problem

How to redirect user back to previous page after login in Drupal 8

Hello, I'm a newbie in Drupal. I've looked for a method to redirect user back to the page they were reading after login. Most of the result was for Drupal 7, which is no longer useful for D8, or at least I don't know how to convert it.

Could you please teach me how to redirect in D8 in the beginner way?

While loop in drupal 7

Hello,

I want to fill out a page with information directly from the SQL DB, however within a function a while, foreach or for loop can only contain one line...

In normal PHP i'd have 5 rows, now only 1. I have been searching but cannot find a solution, please take a look at the code and tell me how to handle this.

If I just echo the 'While' loop (try 4) it will show a blanc page with the 5 rows in an array. once I return it within drupals interface (return, return t();) it shows a single line.

How to create content of content type which is a reference to a paragraph?

I want to add a content to content type (ct1) which has only one field (f1) which is a reference to a paragraph (p1), said paragraph has 4 fields: 3 numeric fields (1, 2, 3) and entity reference (er1) to taxonomy vocabulary, also i am supposed to check if term exists and if term exists then add content, otherwise throw a message and do not add content at all.

have anyway to bulid dynamic link?

hi

i want build link dynamilc for contents.

for example node/1 and node/2 and node/3 etc...

now i delete node2...so my app will find "404" and crash.

what i want that if i delete node2,node3 come to node/2 and node4 come to node3...etc

i try "token" and use "[current-page:url:args]"pattern but it have one problem:if i have 5 content and delete number 2, sixth content get node2:(

have any way?

thanks

<RESOLVED>

<RESOLVED>

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions