Module Metatags field "robots" not handled correctly

Created on 28 March 2023, over 1 year ago

Problem/Motivation

(At least) Using PHP 8.1 the field "robots" coming from the metatags contrib module is incorrectly handled as a string but it is an array

An error is logged in watchdog: TypeError: strip_tags(): Argument #1 ($string) must be of type string, array given in strip_tags() (line 977 of /var/domains/clipboard-baaz.nl/public_html/sites/all/modules/webtexttool/webtexttool.node.inc).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇳🇱Netherlands spokje

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024