Forums

Onswipe
fatal error (9 posts)

  1. stephenjames716
    Member
    Posted 2 years ago #

    Hi,

    Thanks for looking at my post. I just tried to install onswipe and got the following error:

    Plugin could not be activated because it triggered a fatal error.
    Fatal error: Call to undefined function wp_basename() in /home6/stephfj0/public_html/wp-content/plugins/onswipe/onswipe.php on line 35

    I took a look at known plugins that cause errors and I don't have any of those installed. I also tried deactivating my active plugins and activating onswipe again but still received the same error.

    Any suggestions would be appreciated.

    Thanks,
    Steve

  2. Glorfind3l
    Member
    Posted 2 years ago #

    You have to upgrade to wordpress 3.1, it's not compatible with 3.01 or lower version (where there's no wp_basename function)

    :)

  3. stephenjames716
    Member
    Posted 2 years ago #

    great, thank you.

  4. emilsr
    Member
    Posted 2 years ago #

    Hi, I've upgraded to 3.1 and still get this error. Any suggestions?

    thanx in advance!

  5. emilsr
    Member
    Posted 2 years ago #

    sorry, my error reads:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/grupol2/public_html/wp-content/plugins/onswipe/framework/api/restapi.php on line 4

    tnx

  6. jcukier
    Member
    Posted 2 years ago #

    I had the same error as emilsr and fixed it when I used a PHP5 database instead of PHP4. this can't be changed within wordpress, but with your internet host.

  7. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Do you mean that you upgraded PHP? Or upgraded MySQL? PHP doesn't have databases.

  8. buddhistsean
    Member
    Posted 1 year ago #

    Has anyone found a resolution to this? I have MySQL 5 and WordPress.org version 3.1.3 (the latest version), and I am getting the same error.

  9. daniellestern
    Member
    Posted 1 year ago #

    It's likely the theme. I switched to a different theme and Onswipe activated fine. When I switched back to the old theme it broke my site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags