• Resolved JazZ7

    (@jazz7)


    Hello, I got some php error when in BO WooCommerce :

    Notice: Undefined offset: 1 in /var/www/vhosts/tonhost.fr/dev.tonhost.fr/wp-content/plugins/team-members/tmm.php on line 161Notice: Undefined offset: 6 in /var/www/vhosts/tonhost.fr/dev.tonhost.fr/wp-content/plugins/team-members/tmm.php on line 162Notice: Undefined offset: 9 in /var/www/vhosts/tonhost.fr/dev.tonhost.fr/wp-content/plugins/team-members/tmm.php on line 163Notice: Undefined offset: 8 in /var/www/vhosts/tonhost.fr/dev.tonhost.fr/wp-content/plugins/team-members/tmm.php on line 167Notice: Undefined offset: 10 in /var/www/vhosts/tonhost.fr/dev.tonhost.fr/wp-content/plugins/team-members/tmm.php on line 168

    So I edited the source like this :

    $messages['tmm'][1] .= $view_link;
           $messages['tmm'][4] .= $view_link;
           $messages['tmm'][6] .= $view_link;
           $preview_permalink = add_query_arg( 'preview', 'true', $permalink );
           $preview_link = sprintf( '', '', '' );
           $messages['tmm'][7]  .= $preview_link;
           $messages['tmm'][10] .= $preview_link;

    But I’m not sure this is the best solution. What do you think ?

    Thank You.

    https://www.ads-software.com/plugins/team-members/

Viewing 1 replies (of 1 total)
  • Plugin Author WP Darko

    (@spwebguy)

    Sorrrrry for the delay!

    We don’t receive notifications from WordPress and we do support from here: http:/wpdarko.com/support. Very sorry for this…

    We have these kind of errors for other plugins as well. It’s not a big deal, won’t break anything but we are working on it. We will release some update later with fixes for these issues.

    Sorry for the inconvenience caused.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP error : Undefined offset: 1 in tmm.php on line 161’ is closed to new replies.