Forums
(@alpha1beta)
11 years, 6 months ago
I was able to solve this by dropping this around the MCAPI class.
if(class_exists('MCAPI') != true){ class MCAPI {} }
It looks for the class and if its found, ignore the redefinition off it.
This is caused by different plugins using a class of the same name, MCAPI. A prefix should be run to see if that class is already declared (MCAPI line 1) or change the name of this class, so it plays nicely with others.
11 years, 11 months ago
I figured it out. I had to pass an empty array as argument 2, even thought all i needed was the post->id.
Thanks for the response though.
12 years ago
If i can help in any way please let me know, I can send POST data or anything else from the failed tests
14 years, 1 month ago
Thats not exactly what i was looking for, but i made me realize something that did work.
<?php if ( is_user_logged_in() ) { global $current_user; get_currentuserinfo(); echo 'Hello: ' . $current_user->display_name . "\n"; } else {?> Hello Guest! <?php }; ?>