Skip to content
This repository was archived by the owner on Feb 19, 2023. It is now read-only.

Fixing issue for Wordpress 4.9Β #71

@geraldo

Description

@geraldo

On Wordpress 4.9 I get the following warning:

<b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>/var/www/vhost/cosmic.es/home/html/wp-content/themes/touchfolio/admin/medialibrary-uploader.php</b> on line <b>125</b><br />

This has some implications/errors on backend, like for example, you can't add new Themes etc.

To fix that, you have to change line 125 of admin/medialibrary-uploader.php to:

if ( count( array($_posts) ) ) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions