WordPress.org

Ready to get started?Download WordPress

Forums

Moved site, Call to undefined function get_currentuserinfo() (3 posts)

  1. nickyeagle2323
    Member
    Posted 1 year ago #

    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 http://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 :)

  2. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    Did you put the workoutplugin in the root? AFAIK, WP will look in the plugins folder unless you have changed the code.

  3. nickyeagle2323
    Member
    Posted 1 year ago #

    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 ?

Topic Closed

This topic has been closed to new replies.

About this Topic