PHP 7.2 sizeof(): Parameter must be an array or an object …
-
Line 213 of
class-sidebar-login-widget.php
should be changed from this:if ( ! empty( $links ) && is_array( $links ) && sizeof( $links > 0 ) ) {
to this:
if ( ! empty( $links ) && is_array( $links ) && count( $links ) > 0 ) {
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 7.2 sizeof(): Parameter must be an array or an object …’ is closed to new replies.