Error message when installing MailCimp List module

Fatal error: Cannot use Drupal\Component\Utility\String as String because 'String' is a special class name in /storage/.../public_html/modules/mailchimp/modules/mailchimp_lists/src/Controller/MailchimpListsController.php on line 15

I think by changing line 15 in MailchimpListsController.php
from
use Drupal\Component\Utility\String;
to
use Drupal\Component\Utility\SafeMarkup;
this can be solved.

Comments

robertrex created an issue. See original summary.

szeidler’s picture

Status: Active » Closed (duplicate)

Hei. That error should be solved by https://www.drupal.org/node/2689143#new