Problem/Motivation

Site crashes due to php error:
ParseError: syntax error, unexpected '=' in block_title_link.module on line 124

Steps to reproduce

Install module on a site running on php 7.0.33 (debian stretch)

Proposed resolution

Although nice, compact code i assume you need PHP >= 7.1. for it

Remaining tasks

You may split line 124 in block_title_link.module
[$entity_type, $entity_id] = explode('/', substr($uri, 7), 2);
into two assignments

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3228403-2.patch623 bytesNeslee Canil Pinto
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

u.kurilla created an issue. See original summary.

Neslee Canil Pinto’s picture

Version: 1.1.3 » 1.1.x-dev
Status: Active » Needs review
FileSize
623 bytes

@u.kurilla can you try this patch

u.kurilla’s picture

Patch #2 works fine. Problem solved. Thx Neslee.

Neslee Canil Pinto’s picture

Status: Needs review » Reviewed & tested by the community

@u.kurilla thanks for the confirmation

Neslee Canil Pinto’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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