Incompatibly with PHP8+
On PHP 8.0, I received this error:
PHP Fatal error: Uncaught Error: Failed opening required '/home/jon/local/mysite/web/wp-content/plugins/caldera-forms/vendor/symfony/polyfill-mbstring/bootstrap80.php' (include_path='.:/usr/share/php') in /home/jon/local/mysite/web/wp-content/plugins/caldera-forms/vendor/symfony/polyfill-mbstring/bootstrap.php:15"
The problem is polyfill-mbstring
is pinned to version 1.20, and we're packing 1.20-dev. I assume that was a mistake, and we should be specifying version ^1.20
instead of exactly 1.20
.
1.20-dev is fundamentally broken in that it tries to include a file on PHP 8 that isn't part of the package until version 1.22. Updating the package should resolve this. I'd submit a PR but I don't have a Caldera Form build environment.