• Hi Robert,

    I’ve just updated to MainWP Dashboard 4.2.6 and now your extension gives these warnings in the PHP error log. Can you please check and fix it? It’s running on PHP 8.0.

    PHP Warning:  The magic method WSAL\MainWPExtension\Utilities\DateTimeFormatter::__sleep() must have public visibility in /.../wp-content/plugins/activity-log-mainwp/includes/utilities/class-datetimeformatter.php on line 158
    PHP Warning:  The magic method WSAL\MainWPExtension\Utilities\DateTimeFormatter::__wakeup() must have public visibility in /.../wp-content/plugins/activity-log-mainwp/includes/utilities/class-datetimeformatter.php on line 164
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @josklever

    Thank you for reporting this. I have just opened a ticket for the developers to work on it. In the meantime can you please let me know how often does this happen? As in it is happening frequently in the background or do you see these notices when you do something specific?

    Thanks.

    Thread Starter Jos Klever

    (@josklever)

    I’m not sure. I’ve changed private to public for both functions as a workaround to get rid of the errors.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP warning since MainWP 4.2.6’ is closed to new replies.