• I keep getting this error message when I try to go to my dashboard or make a new post.

    Parse error: syntax error, unexpected ‘.’, expecting ‘,’ or ‘;’ in /home3/o98xu4ad/phspirits.com/wp-content/plugins/optinmonster/OMAPI/Api.php on line 19

Viewing 3 replies - 1 through 3 (of 3 total)
  • Joey

    (@leglesslizard)

    Hey,

    If you haven’t altered the optinmonster plugin at all then someone has made an error in their code. To fix it you can visit the file specified in the error (line 19) and apply the change and let the developers know that a fix is needed.

    If you’re not comfortable with that then send a message to the developers with that error and disable the plugin for the time being. They should fix it pretty sharpish!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Download a fresh copy of optinmonster from https://wordpress.org/plugins/optinmonster/ and unzip it on your local machine.

    Via FTP, delete the directory wp-content/plugins/optinmonster, then upload the directory you just unzipped to wp-content/plugins.

    That should solve your basic problem. Now, why did the file(s) get corrupted in the first place? Were you editing any files?

    Thread Starter karlgaverza

    (@karlgaverza)

    That worked, thank you so much!

    I wasn’t editing any files, so don’t really know why things went south.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Syntax Error’ is closed to new replies.