http://www.dnmcomputers.net/user-login-wordpress-plugin/

why I get this error on line 109?
Hello, I have a problem with a wordpress plugin. Its a store plugin for wordpress with buddypress.
It calls CubePoints Store.
Everytime I buy something on my blog with this plugin I get this error:
Fatal error: Call to undefined function is_user_logged_in() in /mnt/web2/42/82/52112482/htdocs/my-blog/wp-content/plugins/cp_store/cp_store.php on line 109
in line 109 in cp_store.php is this:
if (!is_user_logged_in()) { cps_die('Error! Please login to purchase items!');}
I tried to login with other user accounts but, it doesnt work.
Anyone have a idea to solve this problem.
Thanks
look for a line at the start of the file that starts either "require" or "require_once" that references a file named:
wp-includes/pluggable.php
If the line does not exist, add it. If the line exists or adding it does not fix the problem, figure out where the file is and use the path to it.
how to customize wordpress login page without plugin?