Invalid parameter number: no parameters were bound

This is my context: In Drupal 8.7.5 I've set up an additional database in settings.php that is my old Drupal 7 db so that I can make some targeted migrations from it.

This works in mysql:

select * from file_managed as f  
left join field_data_field_person_photo as p on p.field_person_photo_fid = f.fid
where p.entity_id = 500;

Which returns the values I expect. Now, inside Drupal 8 I attempted this:

Portuguese Ministry of National Defense and Military Recruitment

Military Recruitment Portal homepage viewed on tablet

The Ministry of National Defense (Ministério da Defesa Nacional) is the governing department of the Portuguese central administration whose mission is to formulate, conduct, execute and evaluate the national defense policy within the scope of the powers conferred upon it by the National Defense Law, as well as to ensure and supervise the administration of the Armed Forces and other services, bodies, entities and structures integrated into it.

Sectors: 
Government

Drupal 6 to 8 migrate to paragraphs via CSV

Simple outline

Some content types map directly 1 to 1 so am using standard Drupal Migrate with no issue.

Other types are more complex as they contain multiple data items in a single field (an example is within a biography and the entire life events are in a single field), these combined fields need to go into a set of paragraphs. I produce the CSV by querying the Drupal 6 database, pulling the field and processing the results into individual fields so I have about 80K lines of

nid, life_event, date, event_detail

Handling Real time data in Drupal 8

Hello,

So apparently my client has a requirement where he wants to display Real-time data using Web Sockets.

I searched for the modules for that but it doesn't seem to solve my problem. I found one solution where it requires node.js but that also doesn't suit my use-case. Also I am researching about it for past few days but I am not getting any relevant or useful articles.

Fields in custom form

Hi,

the following is my code, I have just pasted the part where I am having trouble:

<?php
namespace Drupal\heritage_bulk_upload\Form;

use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Entity\EntityTypeInterface;
use Drupal\Core\Url;
use Drupal\Core\Language\LanguageInterface;
use Drupal\Core\Archiver\Zip;

How to access libraries installed via 'composer require library/name'

Hello Friends,

I am trying to use the Google Api PHP client library in my drupal 8 custom module.

I have installed the library using 

composer require google/apiclient:^2.0

In vinilla PHP , I am able to access the installed library using

require_once __DIR__ . '/vendor/autoload.php';
 

After that, I am able to create a new google client using the installed library with the following code:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x