Error on update
-
Updating the plugin on a couple of websites (from version 4.3.2 to 4.4.1) gave the same error on both:
An error of type E_COMPILE_ERROR was caused in line 1448 of the file <path>/wp-content/plugins/wp-security-audit-log/wp-security-audit-log.php.
Error message: require_once(): Failed opening required ‘classes/Upgrade/Upgrade_43000_To_44400.php’I don’t know why, because the file exists (maybe require_once didn’t like the relative path rather than the absolute one? idk).
What I’d like to know is: since it definitely skipped all the updating actions related to that file, is there a safe way to redo those actions once?
I was thinking of executing the following code once:
$wsal = WpSecurityAuditLog::get_instance(); require_once '<path>/classes/Upgrade/Upgrade_43000_To_44400.php'; $upgrader = new WSAL_Upgrade_43000_To_44400( $wsal ); $upgrader->run();
Would it work or can it cause other issues?
Thank you in advance.
- The topic ‘Error on update’ is closed to new replies.