WordPress.org

Forums

WordPress Landing Pages
[resolved] Parse error: syntax error, unexpected T_FUNCTION in /home/content/07/8699607/htm (10 posts)

  1. mfishbein
    Member
    Posted 1 year ago #

    Hi, I am getting the following message after uploading and attempting to active the plugin:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/07/8699607/html/wp-content/plugins/landing-pages/landing-pages.php on line 124

    What can I do to fix this?

    Thanks,

    Mike

    https://wordpress.org/plugins/landing-pages/

  2. thatsizz
    Member
    Posted 1 year ago #

    same error. need help

  3. David Wells
    Member
    Plugin Author

    Posted 1 year ago #

    Please install the health check plugin and verify your site runs on PHP version 5.3 or greater. http://wordpress.org/plugins/health-check/

    Sometimes hosting providers display incorrect information about what version you are running and you need to install the health check plugin to verify.

    If it is not greater than 5.3.3. You need to contact your hosting provider for them to upgrade. PHP 5.3.3 came out in 2010

  4. MssDidi
    Member
    Posted 12 months ago #

    This is the message I received from running Health Check:

    "Excellent: Your server is running PHP version 5.2.17 and MySQL version 5.5.37 which will be great for WordPress 3.2 onward."

    I still receive the error similar to what the others mentioned:

    .../wp/wp-content/plugins/landing-pages/landing-pages.php on line 124

    Please advise. Thank you!

    http://noblefetish.com/wp/

  5. David Wells
    Member
    Plugin Author

    Posted 12 months ago #

    You need php 5.3.3 or higher

  6. wordwoof
    Member
    Posted 12 months ago #

    Hi David,

    When trying to activate the plugin I am getting: -

    Parse error: syntax error, unexpected 'add_filter' (T_STRING) in /data01/c9104702/public_html/humanrev/wp-content/plugins/landing-pages/modules/module.clone.php on line 1

    I am running php 5.4 and wordpress install 3.7.3

    Please advise. Thanks,

    Louis

  7. David Wells
    Member
    Plugin Author

    Posted 12 months ago #

    your ftp client might be mushing the code together.

    This happened to me using Filezilla. You need to set the data transfer type to binary.

    Some times your software installation might not work because you need to transfer your files in Binary . This video shows you where to change the transfer type in filezilla.

    http://www.youtube.com/watch?v=ke7VcwPqglc

  8. wordwoof
    Member
    Posted 12 months ago #

    You hit the nail on the head and brilliantly prompt reply. Do you have a donation page?

    Best,

    Louis

  9. David Wells
    Member
    Plugin Author

    Posted 12 months ago #

    There is a link to the paypal donation page in the global settings page of the plugin (in the sidebar)

    If you like the plugin (or the support), we would love a quick review from you on the WordPress Plugin Repository, it would really help us out!

    You can leave a review here.

    Thanks and let me know if you have any questions about the plugin.

  10. MssDidi
    Member
    Posted 8 months ago #

    Hi David,

    Apologies for the long delay. Thank you for your help. And We made a donation, too!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Landing Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic