• Resolved saikrishnakn83

    (@saikrishnakn83)


    Whenever I setup a PHP cron on my WordPress site .. I get the following error “Line 1: syntax error, unexpected floating-point number “.2”

    The cron I setup is as follows

    php /wordpress/core/6.2.2/index.php — wpaicg_cron=yes

    I guess this error because the folder name is 6.2.2 and I can’t change it as it is a WordPress Managed Hosting where I do not get to change the folder names via SFTP. And even if I do it will break the site as the referencing will get effected.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    That’s not PHP code, that’s shell code that calls a PHP script.

    Your best bet is to contact the author of the “wpaicg” plugin to ask for advice.

Viewing 1 replies (of 1 total)

The topic ‘syntax error, unexpected floating-point number “.2”’ is closed to new replies.