Skip to content
Discussion options

You must be logged in to vote

Ah, now I remember. It was caused by the minification. PHP 7.3 does not support attributes, but when the PHP code minified, it keeps the attributes, that caused the PHP version 7.3 to read it as inline comment, thus make the source code broken. When installing, just keep the source code as it is.

Problem: CMS installed in PHP 7.3, but the minification happen in a web server that runs in PHP 8+ that support attribute (can read attribute token).

Actually, it can be solved simply by adding line break after every attribute, but I don’t think it is worth it as I’m going to move forward. Attributes are mostly written in .\engine\kernel\genome.php

// This breaks in PHP 7.3 but works in PHP 8.0
#…

Replies: 8 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@taufik-nurrohman
Comment options

@taufik-nurrohman
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@taufik-nurrohman
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by taufik-nurrohman
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@taufik-nurrohman
Comment options

@yuliakbard
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants