benjo2412
Forum Replies Created
-
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] error call_user_func ??if i can on pvt or on ur email…
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] error call_user_func ??mhh it is very strange, however error on admin aren’t more..
but on frontend Cookie Notice with my message is not visibility ??
Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] error call_user_func ??ehm sorry,
on line 657Warning: Creating default object from empty value in /home/pippo/public_html/wp-includes/user.php on line 657
/**
* Get the blogs a user belongs to.
*
* @since 3.0.0
*
* @param int $id User Id
* @param bool $all Whether to retrieve all blogs or only blogs that are not marked as deleted, archived, or spam.
* @return array A list of the user’s blogs. False if the user was not found or an empty array if the user has no blogs.
*/
function get_blogs_of_user( $id, $all = false ) {
global $wpdb;if ( !is_multisite() ) {
$blog_id = get_current_blog_id(); <<– THIS IS LINE 657
$blogs = array();
$blogs[ $blog_id ]->userblog_id = $blog_id;
$blogs[ $blog_id ]->blogname = get_option(‘blogname’);
$blogs[ $blog_id ]->domain = ”;
$blogs[ $blog_id ]->path = ”;
$blogs[ $blog_id ]->site_id = 1;
$blogs[ $blog_id ]->siteurl = get_option(‘siteurl’);
return $blogs;
}Forum: Plugins
In reply to: [Cookie Notice & Compliance for GDPR / CCPA] error call_user_func ??on admin no more errors,
but on frontend i see this error:Warning: Creating default object from empty value in /home/pippo/public_html/wp-includes/user.php on line 65
// TODO do we deprecate the wp_authentication action?
do_action_ref_array(‘wp_authenticate’, array(&$credentials[‘user_login’], &$credentials[‘user_password’]));if ( ” === $secure_cookie )
$secure_cookie = is_ssl();$secure_cookie = apply_filters(‘secure_signon_cookie’, $secure_cookie, $credentials);
global $auth_secure_cookie; // XXX ugly hack to pass this to wp_authenticate_cookie
$auth_secure_cookie = $secure_cookie;add_filter(‘authenticate’, ‘wp_authenticate_cookie’, 30, 3);
$user = wp_authenticate($credentials[‘user_login’], $credentials[‘user_password’]);
if ( is_wp_error($user) ) {
if ( $user->get_error_codes() == array(’empty_username’, ’empty_password’) ) {
$user = new WP_Error(”, ”);
}return $user;
}wp_set_auth_cookie($user->ID, $credentials[‘remember’], $secure_cookie);
do_action(‘wp_login’, $credentials[‘user_login’]);
return $user; <— THIS IS 65 LINE
}Forum: Plugins
In reply to: [user files] [Plugin: user files] Several problems with the pluginhi,
i have big problem with this beautyful plugin ..
on internet explorer download files works, but on chrome firefox and safari, files download are 0 kbs :((how i can fix it ???
There is a new version ?? where?
ThanksForum: Plugins
In reply to: [user files] [Plugin: user files] Several problems with the plugini have some problem how clauz ??
ISSUE 1: CATEGORIES and ISSUE 2: FILE DOWNLOAD :\
wp 3.2.1 + user file 2.0.7
how we can fix it ?? ??