- Issue created by @drupalbubb
- πΊπΈUnited States jrockowitz Brooklyn, NY
Can you please look at the code in question and compare what is on your website to the below code?
https://git.drupalcode.org/project/schemadotorg/-/blob/1.0.x/src/SchemaD...
Maybe you need to reinstall/recopy the module via composer if these lines don't match.
- π©πͺGermany drupalbubb
If you intend me to comapare line 38, it is the same. Sorry, but i am no coder.
PHP is 8.2.26 - πΊπΈUnited States jrockowitz Brooklyn, NY
The problem is PHP 8.2, and I am only testing (and supporting) PHP 8.3+.
Here is a similar issue π Php 8.2 const definition error Active
- πΊπΈUnited States jrockowitz Brooklyn, NY
You can try the below patch and see if it fixes the issue.
- πΊπΈUnited States jrockowitz Brooklyn, NY
Technically, in the Drupal community, we are still supporting PHP 8.2 for Drupal 10.
@see https://www.drupal.org/docs/getting-started/system-requirements/php-requ... βI would be open to committing the patch, but I want to nudge you to update to PHP 8.3.
- Merge request !237Issue #3525522: ParseError: syntax error in SchemaDotOrgInstaller.php β (Merged) created by jrockowitz
- πΊπΈUnited States jrockowitz Brooklyn, NY
I created an MR because I think we have to revert this change for now until only Drupal 11 is supported.
-
jrockowitz β
committed 25a486e3 on 1.0.x
Issue #3525522: ParseError: syntax error in SchemaDotOrgInstaller.php
-
jrockowitz β
committed 25a486e3 on 1.0.x
- π©πͺGermany drupalbubb
I successfully installed the latest dev. Thanks.
Automatically closed - issue fixed for 2 weeks with no activity.