Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal errors in php 7.4 #101

Open
ericandrewlewis opened this issue Mar 16, 2023 · 0 comments
Open

Fatal errors in php 7.4 #101

ericandrewlewis opened this issue Mar 16, 2023 · 0 comments
Labels
bug Issues that have been confirmed with a reduced test case and identify a bug in WP Capsule.

Comments

@ericandrewlewis
Copy link

I am running the latest WordPress Docker image, and get the error:

[php:error] [pid 56] [client 172.19.0.1:58016] PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /var/www/html/wp-content/themes/wp-capsule-develop/ui/lib/php-markdown/markdown.php on line 934

This is from a dependency of Capsule.

I was able to find the 20 or so occurences within this file and replace the curly brace notation with bracket notation for array access.

Unfortunately, looks like upstream repo is read-only.

@ericandrewlewis ericandrewlewis added the bug Issues that have been confirmed with a reduced test case and identify a bug in WP Capsule. label Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that have been confirmed with a reduced test case and identify a bug in WP Capsule.
Projects
None yet
Development

No branches or pull requests

1 participant