[02-May-2020 04:04:30 UTC] PHP Warning: Use of undefined constant z – assumed 'z' (this w

i dont know how to fix that error and also one of my websites on hosting just diappeared

  • Nithin Ramdas
    • Support Wizard

    Hi Circle 22 ,

    I checked the PHP logs and could notice it, however, it’s a more of a plugin-specific issue. The warning message is pointing to Daily Inspiration plugin.

    [02-May-2020 05:21:10 UTC] PHP Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /xxx/wp-content/plugins/daily-inspiration/dailyinspiration.php on line 1186
    
    

    You’ll have to bring this into the plugin teams attention so that they could fix it out of the box. In the meanwhile, you’ll have to edit the dailyinspriation.php file in the above-mentioned path and change the code in the line 1186 from:
    $v = date(z);

    To:
    $v = date( "z" );

    also one of my websites on hosting just diappeared

    Did you mean the site hosted with us? If yes, if there isn’t any activity on the Hosting Panel for a specific website for 21 days, we’ll be automatically archiving the website.

    To be clear this only occurs for free websites created in the hosting and only for the specific condition when you have the temporary domain active ie, for example, abc.wpmudev.host and with no activity recorded in the Hosting Panel.

    In such case, if there isn’t any activity in the Hosting Panel for that specific website for over 21 days it would get archived. If you point the host to a TLD domain such an issue won’t occur or you’ll have to ensure to access the Hosting Panel of the website at least once every 21 days.

    Please check our doc for more info:
    https://wpmudev.com/docs/hosting/overview/#about-free-sites

    You should be getting an email regarding this before this action and with steps on how to revert on the email. Please do follow the email to activate the website back. Please do note that if you don’t activate the website within 30 days it would get deleted.

    Please do let us know if you have any further query. Have a nice day ahead.

    Regards,
    Nithin