• Resolved Mahfuzul Hasan

    (@mahfuzul)


    PHP Parse error: syntax error, unexpected ‘}’, expecting ‘)’ in wp-content/plugins/optinmonster/views/inline-campaign-shortcode-modal.php on line 14

    Plugin version: 2.6.9
    WordPress version: 5.8.2

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support PC

    (@pranayachaudhary)

    Hi @mahfuzul

    Thanks for reaching out.

    We’d need to troubleshoot it in order to find the root cause. Its possible there is a conflict.

    Could you please take a moment and send an email to support@optinmonster.com so that we can find out what is causing it?

    Looking forward to hearing from you.

    Regards

    Thread Starter Mahfuzul Hasan

    (@mahfuzul)

    The issue is mentioned clearly.
    PHP Parse error: syntax error, unexpected ‘}’, expecting ‘)’ in wp-content/plugins/optinmonster/views/inline-campaign-shortcode-modal.php on line 14

    Plugin Support PC

    (@pranayachaudhary)

    Hi @mahfuzul

    Thanks for your patience. This is a challenging issue and I wanted to be sure I’ve thoroughly investigated it for you before we wrote back 🙂

    To further investigate the issue at our end, I have enabled the error_log using wp-config.php with the OptinMonster plugin version 2.6.9 and WordPress version 5.9 plus tried adding the OptinMonster inline campaign shortcode but the error log shows zero error for me: https://a.supportally.com/E6y14s

    As you mentioned, I also looked at the inline-campaign-shortcode-modal.php and there is no syntax error on line number 14.

    Could it be possible for you to reinstall the OptinMonster plugin and check for the error?

    If the error still persists, To further troubleshoot the issue, Could it be possible for you to run the compatibility test? Try disabling all the plugins keep the OptinMonster active and activate plugins one by one to see the error.

    Also, what is the PHP version you are running?

    We really want to get to the core of the issue you are facing 🙂

    Looking forward to hearing from you!

    Regards

    Plugin Support Angie Meeker

    (@ameeker)

    Hi Mahfuzul,

    It’s been a little while since we’ve heard from you, so I’m going to let you get back to doing what you do best.

    That being said, I’m here if you still need any help. Just let me know, and we can pick up where we left off. In the meantime, I hope you have a great day and take care!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Parse error: syntax error’ is closed to new replies.