• 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

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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)

    🙂

    Thread Starter stephenjames716

    (@stephenjames716)

    great, thank you.

    emilsr

    (@emilsr)

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

    thanx in advance!

    emilsr

    (@emilsr)

    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

    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.

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

    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.

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Onswipe] fatal error’ is closed to new replies.