Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am trying to display a form programmatically in a theme region. I am trying to select the sidebar_second to render my form. So in my custom twig template I use code like:
{% if page.sidebar_second %}
// Display custom form here
{% endif %}
But it wont show anything. However, if I remove the condition the form gets displayed in the content region.
How do I select the sidebar_second region in my custom twig file? Please let me know.
This is my scenario: I have an external Database with about 10 tables, and I have to create dependent fields with jquery and sql for this 10 tables on a node edit form
InvalidArgumentException: sink must not be a boolean in GuzzleHttp\Client->applyOptions() (line 384 of /home/admin/web/testdr.vpoltave.net/public_html/vendor/guzzlehttp/guzzle/src/Client.php).
I have updated the drupal version from drupal 8.6.15 to drupal 8.8.2 but when we submit the form I am facing the issue.
The website encountered an unexpected error. Please try again later.
Error: Class 'CSD\Marketo\Client' not found in Drupal\marketo_ma\Service\MarketoMaApiClient->getClient() (line 119 of modules/patched/marketo_ma/src/Service/MarketoMaApiClient.php).
I have been developing a site over several weeks and have now hit a wall.
After installing some new modules and attempting to resolve this error (composer can't delete default.services.yml) I changed permissions on sites/default using: