• Resolved Oli_PTSLondon

    (@oli_ptslondon)


    Hi,
    I’m getting a stream of these timezone errors and site health has reported a plugin changing the server timezone from UTC.
    I suspect it may be this plugin? It is possible, its picking up the timezone from facebook as our FB Page will be on British Summer Time now.

    [Tue May 26 17:00:56.138098 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: chmod(): Operation not permitted in /var/www/html/wp-content/plugins/wp-file-manager/file_folder_m anager.php on line 61, referer: https://www.sevenoaksbookshop.co.uk/wp-admin/admin.php?page=wc-settings&tab=integration&section=facebookcommerce
    [Tue May 26 17:00:56.372378 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: Use of undefined constant \xe2\x80\x98WC_LOG_DIR\xe2\x80\x99 – assumed ‘\xe2\x80\x98WC_LOG_DIR\xe2 \x80\x99’ (this will throw an Error in a future version of PHP) in /var/www/html/wp-config.php on line 97, referer: https://www.sevenoaksbookshop.co.uk/wp-admin/admin.php?page=wc-settings&tab=integrat ion&section=facebookcommerce
    [Tue May 26 17:00:56.372420 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: Use of undefined constant \xe2\x80\x98 – assumed ‘\xe2\x80\x98’ (this will throw an Error in a fut ure version of PHP) in /var/www/html/wp-config.php on line 97, referer: https://www.sevenoaksbookshop.co.uk/wp-admin/admin.php?page=wc-settings&tab=integration&section=facebookcommerce
    [Tue May 26 17:00:56.372426 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: Use of undefined constant logs – assumed ‘logs’ (this will throw an Error in a future version of P HP) in /var/www/html/wp-config.php on line 97, referer: https://www.sevenoaksbookshop.co.uk/wp-admin/admin.php?page=wc-settings&tab=integration&section=facebookcommerce
    [Tue May 26 17:00:56.372433 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: A non-numeric value encountered in /var/www/html/wp-config.php on line 97, referer: https://www.se venoaksbookshop.co.uk/wp-admin/admin.php?page=wc-settings&tab=integration&section=facebookcommerce
    [Tue May 26 17:00:56.372438 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: A non-numeric value encountered in /var/www/html/wp-config.php on line 97, referer: https://www.se venoaksbookshop.co.uk/wp-admin/admin.php?page=wc-settings&tab=integration&section=facebookcommerce
    [Tue May 26 17:00:56.372443 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: Division by zero in /var/www/html/wp-config.php on line 97, referer: https://www.sevenoaksbookshop .co.uk/wp-admin/admin.php?page=wc-settings&tab=integration&section=facebookcommerce
    [Tue May 26 17:00:56.372448 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: Use of undefined constant \xe2\x80\x99 – assumed ‘\xe2\x80\x99’ (this will throw an Error in a fut ure version of PHP) in /var/www/html/wp-config.php on line 97, referer: https://www.sevenoaksbookshop.co.uk/wp-admin/admin.php?page=wc-settings&tab=integration&section=facebookcommerce
    [Tue May 26 17:00:56.372453 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: A non-numeric value encountered in /var/www/html/wp-config.php on line 97, referer: https://www.se venoaksbookshop.co.uk/wp-admin/admin.php?page=wc-settings&tab=integration&section=facebookcommerce
    [Tue May 26 17:00:56.372457 2020] [php7:warn] [pid 16754] [client 162.158.159.10:64964] PHP Warning: Division by zero in /var/www/html/wp-config.php on line 97, referer: https://www.sevenoaksbookshop .co.uk/wp-admin/admin.php?page=wc-settings&tab=integration&section=facebookcommerce

    Any advice you can offer would be much appreciated.

    Thanks,
    Oli

Viewing 1 replies (of 1 total)
  • Hey Oli!

    Thanks for getting in touch, sorry for the delay in replying to you! I’ve not seen any reports of these types of errors before, and haven’t seen them in passing when running the plugin locally either, so I’d love a closer look to see if there is anything we need to get patched up.

    I notice a lot of the errors seem to reference your wp-config.php file, so it would be great if I could take a look at that specifically too. The first operation not permitted seems to come from the WP File Manager plugin as well, though I’m not sure why all the referrers are set to our plugin’s settings page.

    In order to take a closer look at this for you, it would be great if I could get temporary access to an admin user for your site. To do so, could you please raise a support request via our support form so that we might contact you privately?

    Cheers!

    Simon.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Timezone Errors’ is closed to new replies.