Support

Account

Home Forums Backend Issues (wp-admin) [25-Aug-2024 12:09:31 UTC] PHP Fatal error: Cannot redeclare distance()

Unread

[25-Aug-2024 12:09:31 UTC] PHP Fatal error: Cannot redeclare distance()

  • I am trying to create a block, however, I am often receiving this error:

    [25-Aug-2024 04:19:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function distance() in /home/example/htdocs/www.example.com/wp-content/plugins/fs-nearby-resorts-block/template-parts/fs-nearby-resorts-block-template.php:48

    I have added the block to two acf posts. Both display well on the front end. 1 works in the back end and the other gives me the fatal error above. I have only used the block once in the post.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.