Problem/Motivation

Hi, I encountered a bug while trying to set a migration:

drush migrate:status
Error: Non-static method Drupal\Core\Database\Connection::escapeLike() cannot be called statically in /var/www/newcosmoconnected.l/drupal/sources/web/modules/contrib/google_api_client/src/Plugin/migrate/source/Gauth.php on line 26

I'll see if I can patch that and post my progresses here.

CommentFileSizeAuthor
#3 fix_static_escape_like.patch887 bytesthony

Comments

Thony created an issue. See original summary.

thony’s picture

Title: rupal\Core\Database\Connection::escapeLike => Non-static method called statically » Drupal\Core\Database\Connection::escapeLike => Non-static method called statically
thony’s picture

StatusFileSize
new887 bytes

This should work

  • sadashiv committed a30fc93 on 8.x-4.x
    Issue #3284822 by Thony: Drupal\Core\Database\Connection::escapeLike =>...
sadashiv’s picture

Status: Active » Fixed

Thanks for reporting this issue and providing patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.