Support » Plugin: Papier-mâché » Warning at the bottom of the page

  • Resolved kaostrue

    (@kaostrue)


    Hi,

    Thanks a lot for the plugin, it’s really great. Would like to use for my client’s website launch.

    There is only one problem : I have an error message on the bottom of the page on every website I install it on : “Warning: Invalid argument supplied for…”

    Thanks in advance for your help ! 🙂

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sebastian Echeverry

    (@sebaxtian)

    Hi,

    Thanks for pointing me about this issue.

    I will update the plugin today, but if you want change lines 92 to 99 with.

    //¿Está el rol del usuario en la lista de deshabilitados?
        if(is_array($disabled_roles) && count($disabled_roles) > 0) {
            foreach($disabled_roles as $disabled_role) {
                if(in_array($disabled_role, $user_roles)) {
                    $habilitado = false;
                    break;
                }
            }
        }

    Saludos.

    kaostrue

    (@kaostrue)

    Thank you for such a quick answer! I tried to change the code but I’m not very familiar with plugins so I hink I did something badly as I can’t install it after the modification.
    I look forward to update it tonight !
    Could you please let me know here when it’s done?

    Thanks a lot in advance !

    Plugin Author Sebastian Echeverry

    (@sebaxtian)

    New version has been uploaded. Tell me if this solves the situation.

    Saludos.

    kaostrue

    (@kaostrue)

    Yes ! it’s perfect !!! thank you so much again ! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning at the bottom of the page’ is closed to new replies.