WordPress.org

Ready to get started?Download WordPress

Forums

WP-UserOnline
[resolved] WP-UserOnline 2.8 error (6 posts)

  1. hterry
    Member
    Posted 3 years ago #

    I finally decided to start updating my plugins and this one does not work.

    I get the errors of

    Invalid argument supplied for foreach() in

    and

    array_keys() [function.array-keys]

    all errors are on line 264 in the admin.php file and that line is just a tr code

    at line 272 I see this which I think it might be talking about but haven't a clue how to fix it

    <?php foreach ( array_keys( $this->options->templates[$option]['separators'] ) as $type ) {

  2. Are you running PHP5?

    PHP 5 is required since version 2.60.

    http://wordpress.org/extend/plugins/wp-useronline/

    PHP version is usually displayed somewhere in your hosting control panel.

  3. hterry
    Member
    Posted 3 years ago #

    Everybody uses PHP 5 now. That's not the issue cuz it was working on the 2.6 version

  4. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    Try pressing the "Restore Defaults" buttons and then saving.

  5. hterry
    Member
    Posted 3 years ago #

    that did it, thank you scribu, not sure why it did that when I updated but it works now.

  6. Great! If you would please mark this thread as "resolved" (drop-down menu in the right column) it would be appreciated. Helps everyone keep better track of whose issues are still outstanding. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic