getting W_COMPILE_ERROR (namespace declaration problem)
-
Hi, when I enable PostX I get a fatal error:
An error of type E_COMPILE_ERROR was caused in line 88 of the file /[path to plugin]/wp-content/plugins/ultimate-post/classes/Dashboard.php. Error message: Namespace declaration statement has to be the very first statement or after any declare call in the script
I’ve disabled *all* plugins and reverted to the Twenty Twenty Five theme, and as soon as I activate PostX, I get this error.
I’m seeing this error from other plugins as well, but after three hours on support with the web hosting company (WP Engine), they are unable to find a problem on their end and suggested I contact you. We’re running PHP version 8.2 and WordPress 6.8.1.
Thanks.
The page I need help with: [log in to see the link]
The topic ‘getting W_COMPILE_ERROR (namespace declaration problem)’ is closed to new replies.