Support » Plugin: User Tags » Fatal error

  • Hi there,

    I am currently using the UserTags plugin v1.2.7 and I have an issue for displaying it using the given shortcode [user_tags]. I receive the following message:

    
    Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/caca.com/wordpress/wp-content/plugins/user-tags/lib/functions.php:80 Stack trace: #0 /var/www/caca.com/wordpress/wp-includes/shortcodes.php(319): wp_ut_tag_box('', '', 'user_tags') #1 [internal function]: do_shortcode_tag(Array) #2 /var/www/caca.com/wordpress/wp-includes/shortcodes.php(197): preg_replace_callback('/\\[(\\[?)(user_t...', 'do_shortcode_ta...', '\n\t\t\t\tVotre pseu...') #3 /var/www/caca.com/wordpress/wp-content/plugins/bootstrap-3-shortcodes/bootstrap-shortcodes.php(1322): do_shortcode('\n\t\t\t\tVotre pseu...') #4 /var/www/caca.com/wordpress/wp-includes/shortcodes.php(319): BoostrapShortcodes->bs_tab(Array, '\n\t\t\t\tVotre pseu...', 'tab') #5 [internal function]: do_shortcode_tag(Array) #6 /var/www/caca.com/wordpress/wp-includes/shortcodes.php(197): preg_replace_callback('/\\[(\\[?)(user_t...', 'do_shortcode_ta...', '\n\t\t\t[tab title=...') #7 /var/www/caca.com/wordpress/wp-content/plugins/bootstrap-3-shortcodes/bootstrap-shor in /var/www/caca.com/wordpress/wp-content/plugins/user-tags/lib/functions.php on line 80
    

    At the same time in the Taxonomies tab i have the following warnings:

    
    Notice: Undefined offset: 3 in /var/www/caca.com/wordpress/wp-admin/includes/class-wp-list-table.php on line 1007
    
    Notice: Undefined offset: 3 in /var/www/caca.com/wordpress/wp-admin/includes/class-wp-list-table.php on line 1217
    

    Does anyone know something about these problems ? Is it another plugin which conflicts with UserTags ? (I have checked but maybe I made a mistake somewhere).

    Thank you in advance.

    rivan

Viewing 1 replies (of 1 total)
  • One quick fix to the fatal error is to change the line 77 in the same file from

    $user_tags = '';

    to

    $user_tags = array();

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error’ is closed to new replies.