Warning: Use of undefined constant und

Created on 7 August 2020, over 4 years ago
Updated 3 March 2023, over 1 year ago

Hi Team,

We faced PHP warning issues such as "Warning: Use of undefined constant und - assumed 'und' (this will throw an Error in a future version of PHP) in eval()" from the module code.

The array passing to the eval needs to be altered from example[und][0][nid] to example['und'][0]['nid'], We have added the patch from our end but it would be better if you add the patch to overcome in the future.

Thanks,
Kumar.G

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India madanzes

Live updates comments and jobs are added and updated live.
  • PHP 7.2

    The issue particularly affects sites running on PHP version 7.2.0 or later.

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