call_user_func() error with PHP 5.6.38

Created on 13 November 2018, about 6 years ago
Updated 15 January 2025, 9 days ago

It seems PHP version 5.6.38 (and may be others) does not handle calls to non-user functions (in our case: class_exists) via call_user_func(). See https://www.drupal.org/project/openlayers/issues/3013374 🐛 openlayers.Types.internal.Error does not exist Fixed for a listing of resulting errors.

To avoid this problem, the attached patch defines wrapping user functions for class_exists(). This works for me.

Thanks for considering it.

🐛 Bug report
Status

Closed: won't fix

Component

Code

Created by

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.

No activities found.

Production build 0.71.5 2024