PHP Parse error: syntax error, unexpected ''< /ul>'' (T_CONSTANT_ENCAPSED_STRING) in /modules/php/php.module(80) : eval()'d code on line 4

PHP Parse error:  syntax error, unexpected

Encountered numerous PHP syntax errors in Drupal 7 while checking the error log file:

Drupal 8 Paragraph module error - This entity (paragraph: 309) cannot be referenced.

Drupal 8 Paragraph module error - This entity (paragraph: 309) cannot be referenced.

When saving a content type with paragraphs block used, produces an error - This entity (paragraph: xxx) cannot be referenced.

Drupal 8 Views: How to group event node content items for example by date month

For Drupal 7, Views grouping and rewriting has been easy due to easy retrieval and controls of tokens. On D8, this gets tricky for the Date Views. If you have a set-up similar to this, the steps in the subsequent section might help:

Drupal 8 website keeps redirecting to /core/install.php with error, with an error: Fatal error: Cannot redeclare _drupal_shutdown_function_handle_exception() (previously declared in

Drupal 8 website keeps redirecting to /core/install.php with error, with an error: Fatal error: Cannot redeclare _drupal_shutdown_function_handle_exception() (previously declared in... (the following instances):

.../html/web/core/includes/bootstrap.inc

and another instance in

.../html/vendor/drupal/core/includes/bootstrap.inc

Install Drupal version 8 with and working with Drush version 9

How to Download Drupal 8 Core Using Drush

  1. Create, connect and login to your SSH
  2. Navigate to the desired directory where to install and use Drupal version 8
  3. Run below composer command:
    composer require drupal/core
  4. This will now download from Drupal.org server the core files and install it to the default directory where the command was executed
    Download Drupal 8 Core using Drush version 9

 

 

 

Drupal - Use tokens to display, combine or output other field values in a field

The output a certain field display by using other field values thru the use of tokens, the following modules may be useful. Each differs on the usage, applications and the kind of display and output.

Field Token Value

Available for Drupal 8

Enables to use tokens as field default values.

https://www.drupal.org/project/field_token_value

Field Default Token

Provides a field allowing the value to be set using a string containing tokens.

Cron Errors - Bootstrap plugin Not installed. The version of the Bootstrap library could not be detected. Bootstrap requires jQuery 1.7 or greater. Configure jQuery Update.

Bootstrap plugin Not installed The version of the Bootstrap library could not be detected.  Bootstrap version jQuery 1.10.2 Bootstrap requires jQuery 1.7 or greater. Configure jQuery Update.

Scenario on Drupal 7 - after running cron, you got stuck with these two Bootstrap-related errors:

Bootstrap plugin Not installed
The version of the Bootstrap library could not be detected.

Bootstrap version jQuery 1.10.2
Bootstrap requires jQuery 1.7 or greater. Configure jQuery Update.

Drupal 7 Missing tables in Newsletter Module installation - PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '.field_data_field_newsletter_template

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '.field_data_field_newsletter_template

Strange but for some reason, installing the newsletter module produces error below. All seems fine, with the module installed and enabled. However, error appears when clicking on the list from the newsletter administration backend - /admin/config/media/newsletter/lists

How to customize (manage) fields and content display for Bootstrap in Drupal 7

How to customize (manage) display for Bootstrap in Drupal 7 without Panels

While most content display modules are definitely useful for customizing your node and content displays, with or without Views integration, sometimes a more straight-forward method is to use the second option especially if you are using a Bootstrap-driven theme and coding, and customizing your template (TPL) files is not an option.

Useful Drupal 7 Content Display modules

Modules that are helpful, but might be challenging and complex to set-up for the uninitiated:

Drupal Webform: How to enable sending and receiving full HTML mail messages in Webform

If for some reason, sending messages thru Webforms for example Contact Us forms does not yield a message in HTML format but in simple text format only, the following modules may be useful:

HTML Mail

Lets you theme your messages the same way you theme the rest of your website.

ttps://www.drupal.org/project/htmlmail

Mime Mail

It permits users to receive HTML email and can be used by other modules. The mail functionality accepts an HTML message body, mime-endcodes it and sends it.

Pages

Get reliable web hosting services

Recurring donation

Make Donation

  • Other: $

Donate now

Single donation

Make Donation

  • Other: $

Donate now