PHP Warning: Undefined variable $tag in media_wysiwyg_token_to_markup()

Created on 26 February 2023, over 1 year ago
Updated 15 August 2023, about 1 year ago

Problem/Motivation

dblog shows "Warning: Undefined variable $tag in media_wysiwyg_token_to_markup() (line 286 of /home2/steelandtubeco/steelandtube.co.nz/sites/all/modules/contrib/media/modules/media_wysiwyg/includes/media_wysiwyg.filter.inc)"

Steps to reproduce

Use media_wysiwyg. Note by code inspection in media_wysiwyg_token_to_markup() that $tag is used on line 285 and 286 without being given a value.

🐛 Bug report
Status

Active

Version

4.5

Component

Media WYSIWYG

Created by

🇳🇿New Zealand jonathan_hunt

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

Comments & Activities

Production build 0.71.5 2024