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.
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?
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.
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.