Comments (4)
Thanks for testing this out @bph! 😃
This looks to be a php version incompatibility. Anything below php 7.3 will throw this error.
I will look into php backwards compatibility and keep this issue up-to-date. What is strange to me is that we pulled these functions directly from the theme starter content of the official Twenty Twenty and Twenty Nineteen, and I would assume those had been tested against the versions of php that core supports.
cc @kjellr
from theme-experiments.
Interesting! Thank you for testing, @bph. We'll sort this out.
from theme-experiments.
Fixed as of #13. 👍 Thanks again for the report.
from theme-experiments.
You are welcome.
I can confirm
- the same error for TwentyNineteen-blocks (functions.php line 105)
- after upgrading my local dev environment to 7.3.2 the error message went away.
from theme-experiments.
Related Issues (20)
- TT1 Blocks: Media and Text Block is stretched at the frontend HOT 5
- TT1 blocks: Enable margin support in theme.json for 10.7 HOT 4
- Recreate Twenty Twenty Blocks as a universal or hybrid theme? HOT 5
- Button block lacks spacing when added to a columns block HOT 1
- Feedback on creating a blank template and spacing HOT 1
- Update TT1 Blocks to 0.4.7 and re-upload to the theme repository HOT 1
- TT1 Blocks: Settings -> general HOT 3
- correct the slug/folder name for Empty theme HOT 2
- Navigation Block Spacing Issue HOT 2
- TT1 Blocks: Search Block background color doesn't update HOT 3
- Feedback on trying to remove padding between template part and cover block HOT 2
- emptytheme Does nothing? HOT 1
- TT1 blocks: missing visuals for gradients HOT 1
- TT1 blocks: Multiple <h1> HOT 4
- New empty theme : Fatal error Uncaught UnexpectedValueException HOT 1
- TT1 Blocks: Visual issues HOT 2
- TT1 blocks: Implement elements API
- alomiz.com HOT 2
- Low quality empty theme, no docs, no consistency HOT 1
- Should this repository be archived? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from theme-experiments.