php warning: Deprecated function, after form submit

Hi,

I have an ajax callback function in the form submit:

$form['display'] = [
     
      '#type' => 'button',
      '#value' => $this->t('More'),
       '#ajax' => [
        'callback' => 'Drupal\heritage_ui\Controller\HeritageTextContent::metadataDisplay',
        'effect' => 'slide',
        'event' => 'click',
      ],
    ];

I am getting a php warning:

Problem Updating Drupal 8

I have been updating Drupal for years using Drush. Now I want to update a Drupal 8.7.1 site to current. My older version of Drush (8.0.2) throws an error, so I updated Drush to v10, and started over.

Now it seems there is no longer an update command in Drush 10?

So I looked to see how to update, and it looks like I need to do it with Composer. I went to do that, using:

"composer update drupal/core --with-dependencies"

and it says "drupal/core" is not installed. What?

Does Migrate help me with my D7 to D8 project?

I have a D7 site I am migrating to D8; but not a standard migration for numerous reasons:

1. the bundle structure is not the same in all cases, as an example:

- Contact node and User entity are being combined into User entity

2. some fields are being changed, for example:

- old D7 site used List fields in many places which are being replaced by Term Ref fields

3. the bundles are already built on the D8 site but content including user's can all be deleted if this helps my cause

flysystem S3 + Minio

Dear All

I'm exploring some solutions to "move" files storage from classic file folder sites..../files into a file manager system. 

I'm trying to use Minio object storage throws flysystem and flysystem_S3

I insert into my settings.php file current configuration 

$schemes = [
  's3' => [
    'driver' => 's3',
    'config' => [
      'key'    => 'minioadmin',      // 'key' and 'secret' do not need to be
      'secret' => 'minioadmin',   // provided if using IAM roles.
      'region' => 'eu-central-1',

Could not retrieve the oEmbed resource

I am facing an issue while uploading image in media library that your image could not retrieve the oEmbed resource.

Help will be appreciated.
 

ParseError: syntax error, unexpected 'public' (T_PUBLIC)

Hello,

Following code gives me error

"The website encountered an unexpected error. Please try again later.
ParseError: syntax error, unexpected 'public' (T_PUBLIC) in Composer\Autoload\includeFile() (line 41 of modules\custom\rsvplist\src\EnablerService.php)."

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x