Undefined Variables Notices

Created on 16 November 2020, over 4 years ago
Updated 17 January 2023, about 2 years ago

Thanks for making this module! Although working as expected, thought I'd make aware of the following notices:

Notice: Undefined variable: fileSize in Drupal\download_link_labeler\Plugin\Filter\FilterDownloadLinkLabeler->downloadLinksFilterReplaceCallback() (line 236 of modules/contrib/download_link_labeler/src/Plugin/Filter/FilterDownloadLinkLabeler.php).
Drupal\download_link_labeler\Plugin\Filter\FilterDownloadLinkLabeler->downloadLinksFilterReplaceCallback(Array)
preg_replace_callback('/<a>]*href="([^&lt;&gt;"]*)"[^&lt;]*&gt;((?:[^&lt;]+|&lt;(?!\/a&gt;))*)&lt;\/a&gt;((?:&nbsp;)\([^&lt;&gt;\(\)]*\)(?:&nbsp;)\([^&lt;&gt;\(\)]*\)|(?:&nbsp;)\s\([^&lt;&gt;\(\)]*\)(?:&nbsp;)\([^&lt;&gt;\(\)]*\)|\s\([^&lt;&gt;\(\)]*\)\s\([^&lt;&gt;\(\)]*\)|(?:&nbsp;)\([^&lt;&gt;\(\)]*\)\s\([^&lt;&gt;\(\)]*\)|(?:&nbsp;)\s\([^&lt;&gt;\(\)]*\)\s\([^&lt;&gt;\(\)]*\)|\s?\([^&lt;&gt;\(\)]*\)\s?\([^&lt;&gt;\(\)]*\)|(?:&nbsp;)\([^&lt;&gt;\(\)]*\)(?:&nbsp;)\([^&lt;&gt;\(\)]*\)|)/i', Array, 'The National Center for Health Workforce Analysis (NCHWA) assesses health workforce data. We look at the supply, use, access, need, and demand for health workers.
Notice: Undefined variable: extension in Drupal\download_link_labeler\Plugin\Filter\FilterDownloadLinkLabeler->downloadLinksFilterReplaceCallback() (line 236 of modules/contrib/download_link_labeler/src/Plugin/Filter/FilterDownloadLinkLabeler.php).
Drupal\download_link_labeler\Plugin\Filter\FilterDownloadLinkLabeler->downloadLinksFilterReplaceCallback(Array)
preg_replace_callback('/<a>]*href="([^&lt;&gt;"]*)"[^&lt;]*&gt;((?:[^&lt;]+|&lt;(?!\/a&gt;))*)&lt;\/a&gt;((?:&nbsp;)\([^&lt;&gt;\(\)]*\)(?:&nbsp;)\([^&lt;&gt;\(\)]*\)|(?:&nbsp;)\s\([^&lt;&gt;\(\)]*\)(?:&nbsp;)\([^&lt;&gt;\(\)]*\)|\s\([^&lt;&gt;\(\)]*\)\s\([^&lt;&gt;\(\)]*\)|(?:&nbsp;)\([^&lt;&gt;\(\)]*\)\s\([^&lt;&gt;\(\)]*\)|(?:&nbsp;)\s\([^&lt;&gt;\(\)]*\)\s\([^&lt;&gt;\(\)]*\)|\s?\([^&lt;&gt;\(\)]*\)\s?\([^&lt;&gt;\(\)]*\)|(?:&nbsp;)\([^&lt;&gt;\(\)]*\)(?:&nbsp;)\([^&lt;&gt;\(\)]*\)|)/i', Array, 'The National Center for Health Workforce Analysis (NCHWA) assesses health workforce data. We look at the supply, use, access, need, and demand for health workers.
πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sassafrass

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024