PHP 8.0 – Error using an unparenthesized expression
-
Howdy. I see that you’ve stopped ongoing support of this plugin, but hopefully this helps others who may run into an issue in the future with PHP 8.0.
In leaflet-marker.php (line 829) and leaflet-tools.php (line 716), long strings are concatenated with
.
that also add two values together, like:text . text . number + 1 . text . text;
Support for this was deprecated in PHP 7.4 and removed from 8.0 and it should be adjusted to:
text . text . ( number + 1 ) . text . text;
We’re hot-fixing this, though it would be very helpful if it is included with any other update that may get pushed with this plugin. Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP 8.0 – Error using an unparenthesized expression’ is closed to new replies.