• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Solved Special Alpha version 1031 errors

robru

Baby Penguin
XenWord Professional
@LPH, This is no hurry.

Code:
     ErrorException: [E_WARNING] Illegal offset type /var/www/html/wp-includes/class-wp-user.php:580

Code:
#0 /var/www/html/wp-includes/class-wp-user.php(580): XF::handlePhpError(2, '[E_WARNING] Ill...', '/var/www/html/w...', 580, Array)
#1 /var/www/html/wp-includes/user.php(1692): WP_User->set_role(Array)
#2 /var/www/html/wp-content/plugins/xenword/src/Includes/Members/Add.php(192): wp_insert_user(Array)
#3 /var/www/html/wp-content/plugins/xenword/src/Includes/Members/Add.php(146): XenWord\Includes\Members\Add->insert_user(Array)
#4 /var/www/html/wp-content/plugins/xenword/src/Includes/Members/Add.php(96): XenWord\Includes\Members\Add->check_user_exists(Array)
#5 /var/www/html/wp-content/plugins/xenword/src/Includes/Members/Add.php(44): XenWord\Includes\Members\Add->get_role()
#6 /var/www/html/wp-content/plugins/xenword/src/Includes/Members/Login.php(53): XenWord\Includes\Members\Add->check_options()
#7 /var/www/html/wp-includes/class-wp-hook.php(298): XenWord\Includes\Members\Login->login('')
#8 /var/www/html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#9 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#10 /var/www/html/wp-settings.php(325): do_action('plugins_loaded')
#11 /var/www/html/wp-config.php(113): require_once('/var/www/html/w...')
#12 /var/www/html/wp-load.php(37): require_once('/var/www/html/w...')
#13 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...')
#14 /var/www/html/index.php(17): require('/var/www/html/w...')
#15 {main}
 
Last edited:

robru

Baby Penguin
XenWord Professional
Code:
     ErrorException: [E_NOTICE] Undefined index: host /var/www/html/wp-includes/canonical.php:444

Code:
#0 /var/www/html/wp-includes/canonical.php(444): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/html/w...', 444, Array)
#1 /var/www/html/wp-includes/class-wp-hook.php(298): redirect_canonical('')
#2 /var/www/html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#3 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /var/www/html/wp-includes/template-loader.php(12): do_action('template_redire...')
#5 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...')
#6 /var/www/html/index.php(17): require('/var/www/html/w...')
#7 {main}
 

robru

Baby Penguin
XenWord Professional
Code:
     ErrorException: [E_NOTICE] Undefined index: scheme /var/www/html/wp-includes/canonical.php:465

Code:
#0 /var/www/html/wp-includes/canonical.php(465): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/html/w...', 465, Array)
#1 /var/www/html/wp-includes/class-wp-hook.php(298): redirect_canonical('')
#2 /var/www/html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#3 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /var/www/html/wp-includes/template-loader.php(12): do_action('template_redire...')
#5 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...')
#6 /var/www/html/index.php(17): require('/var/www/html/w...')
#7 {main}
 

LPH

Flight Director
Flight Instructor
Specific to this first error, early versions inserted a user into the database. This was changed to wp_insert_user. The code needs to be changed to the following sequence:

Check if user exists
Insert user if necessary
Add roles

Currently the add roles is part of wp_insert_user array and I’ll remove it from the array and use add_roles of the WP_User object.
 

LPH

Flight Director
Flight Instructor
I believe these are now fixed with the new members system code. I'm testing right now because it's a huge change.
 

robru

Baby Penguin
XenWord Professional
Visitors Online Widget.

The more members get online, the longer the row becomes. Instead of placing 5 a 6 below each other.

Schermafbeelding 2017-11-05 om 20.00.15.png
 
Top