Onyx 17.5, CentOS 7.3, latest WP Toolkit
On the first scan a WP installation was detected, but WP Toolkit says:
"PHP Parse error: syntax error, unexpected '?' in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1047) : eval()'d code on line 1"
The only thing that I found to be abnormal was a byte order instruction at the beginning of wp-config.php like this:
Same issue as described here: Wordpress installation is not synced: PHP Parse error: syntax error, unexpected '?' in /usr/share/plesk-wp-cli/php/WP_CLI/Runner.php(996) : eval()'d code on line 1
I have removed the byte order character(s), then clicked "Scan" in WP Toolkit again. But it is not changing anything about the status of the broken instance. I tried turning PSA debugging on, hit scan again, and it revealed that the error was actually not logged again. Nothing was logged again. It is behaving as if the scan is neglecting the instance completely, but the "broken" instance stays in the WP Toolkit overview list.
How can WP Toolkit be forced to re-read an instance or to check whether the initially found error is still present?
Edit: I found that moving the document root directory to a new name and then scanning again is a possible workaround. The broken instance still is no deleted from the table, but at least the fixed instance is now listed.
On the first scan a WP installation was detected, but WP Toolkit says:
"PHP Parse error: syntax error, unexpected '?' in /usr/local/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1047) : eval()'d code on line 1"
The only thing that I found to be abnormal was a byte order instruction at the beginning of wp-config.php like this:
Code:
<U+FEFF><?php
/** The base configuration for WordPress
...
I have removed the byte order character(s), then clicked "Scan" in WP Toolkit again. But it is not changing anything about the status of the broken instance. I tried turning PSA debugging on, hit scan again, and it revealed that the error was actually not logged again. Nothing was logged again. It is behaving as if the scan is neglecting the instance completely, but the "broken" instance stays in the WP Toolkit overview list.
How can WP Toolkit be forced to re-read an instance or to check whether the initially found error is still present?
Edit: I found that moving the document root directory to a new name and then scanning again is a possible workaround. The broken instance still is no deleted from the table, but at least the fixed instance is now listed.
Last edited: