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
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)
:)
stephenjames716
Member
Posted 2 years ago #
Hi, I've upgraded to 3.1 and still get this error. Any suggestions?
thanx in advance!
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
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.
Do you mean that you upgraded PHP? Or upgraded MySQL? PHP doesn't have databases.
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.
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.