• saquibnisar

    (@saquibnisar)


    I’ve just updated the plugin on my mosque website, and it’s broken the site, including the admin page.

    Error is as below. Any help appreciated!

    Parse error: syntax error, unexpected ‘:’, expecting ‘;’ or ‘{‘ in?/home/lxbkmg1pvo7r/public_html/wp-content/plugins/daily-prayer-time-for-mosques/Models/DPTHelper.php?on line?73

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter saquibnisar

    (@saquibnisar)

    So this is to do with the PHP version which I’m not in a position to update at the moment. I’ve manually edited some files to remove new features you’ve used from PHP 7 (specifying the data type returned by a function) and got the site up and running again.

    Plugin Author mmrs151

    (@mmrs151)

    Alhamdulillah and jazakallah khairan.

    The older versions of php are not supported anymore and prone to bug and vulnerabilities. I would ask your hosting provider to update the php version to the latest.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Updated plugin – site broken’ is closed to new replies.