Support » Plugin: Out of the Block: OpenStreetMap » Could not activate it on my Xampp localhost

  • Resolved nick6352683

    (@nick6352683)


    Fatal error:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘)’ in …\plugins\ootb-openstreetmap\inc\assets.php on line 21

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Giorgos Sarigiannidis

    (@gsarig)

    Hello,

    I’ve tried to reproduce it on a few local and live installations but I see no issue.
    Just to make sure that your download didn’t get corrupted for some reason (e.g. a poor internet connection or whatever), can you check if the /inc/assets.php file that you downloaded has the same content as in the following link? https://plugins.trac.wordpress.org/browser/ootb-openstreetmap/trunk/inc/assets.php

    In general, you could try to delete the entire plugin folder and try to download and install it again.

    Let me know if this makes any difference.

    Forget about what I’ve written. It was a stupid mistake on my behalf (a forgotten comma).
    Apparently, some PHP versions were more tolerant than others to the error, that’s why I failed to notice it.
    Please try to install the updated version of the plugin (1.0.1). It should work.

    nick6352683

    (@nick6352683)

    Bravo (maybe) Simbadriodi,

    Installing v1.0.1 solved the issue.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.