• Resolved Melih Polat

    (@polat_melih)


    Hi thanks for the great plugin and efforts.

    When saving options in admin panel a missing argument error fires.

    ( ! ) Warning: Missing argument 2 for UserOnline_Options::validate() in D:\wamp\www\wacl\wp-content\plugins\wp-useronline\admin.php on line 63

    this is the function on line 63 :

    function validate( $options, $old_data ) { …. }

    so i updated it like this and the problem solved :

    function validate( $options, $old_data=” ) { …. }

    Please test the plugin while your display error option is set to true.

    Good works.

    https://wordpress.org/plugins/wp-useronline/

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘miising argument 2’ is closed to new replies.