• Thanks for any help in advance, but i cant seem to piece back together my wordpress site after uploading it to hostgator.

    The site was working fine on a local install of xampp, and now has fallen apart. The site loads but all of the scripts i have written and used the include() function do not connect, or do not pull the variables into the main page.

    im also getting these errors….specifically on the php i have written.

    Fatal error: Call to undefined function get_currentuserinfo() in /home/eagle23/public_html/workoutplugin/nutrition-variables.php on line 4

    Warning: require_once(capabilities.php) [function.require-once]: failed to open stream: No such file or directory in /home/eagle23/public_html/pluggable.php on line 8

    Fatal error: require_once() [function.require]: Failed opening required ‘capabilities.php’ (include_path=’.:/usr/lib/php’) in /home/eagle23/public_html/pluggable.php on line 8

    the page is https://www.workout2day.com/nutrition

    but other pages are having problems, i clearly have made a consistent mistake with the code and its not working properly.

    any help getting back up and running is much appreciated ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you put the workoutplugin in the root? AFAIK, WP will look in the plugins folder unless you have changed the code.

    Thread Starter nickyeagle2323

    (@nickyeagle2323)

    It’s actually just a php script, I placed it in the plugins folder originally, but it had this error so I moved the whole folder to the root directory where it could find the file but returned call to undermined function above.

    Should I place it in a plugin and upload it that was and call the function when needed ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Moved site, Call to undefined function get_currentuserinfo()’ is closed to new replies.