PhileCMS / Phile

A flat file CMS with a swappable parser and template engine.
https://philecms.github.io/
Other
255 stars 48 forks source link

[BUGFIX] Check if property exists in MarkdownExtra class #355

Open iaian7 opened 1 year ago

iaian7 commented 1 year ago

Addresses issue #354, fixing the dynamic property ErrorException in PHP 8.2

Changes proposed in this pull request: Check for property validity before attempting to set custom configuration variables in the Markdown plugin. It's very possible this is not the ideal or correct method for solving the issue, and is offered as a quick fix for anyone running into the same issues I have when running PHP 8.2, until an official approach or correction is recommended.

@PhileCMS/Phile @Schlaefer please review this pull request

Schlaefer commented 1 year ago

Hi, thanks for the PR. I'm going to review in the New Year. - You all have a happy New Year.