I don’t know if the PHP parser on this host is set to some “extra strict” setting, but now it complained about the following lines:
- class-message-page.php:1165 (I removed the trailing comma, that fixed it)
- class-settings-menu.php:617 (removed the [] behind the $sections. Not much experience in PHP, was that right?)
- Now it complains about class-settings-menu.php:667
syntax error, unexpected ” (T_ENCAPSED_AND_WHITESPACE), expecting ‘-‘ or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)
I definitely don’t know enough about PHP or your code to fix that one.
Any Idea what could be going on here? Some setting in my PHP that I could change? I would change my PHP to 8.2, but there is a Website on the account that still runs on an old WP4.6 which I don’t want to break until I got the new one running.