• mattagland

    (@mattagland)


    I’m receiving the following error about a missing directory in the latest version of the plugin:

    Warning: opendir([WORDPRESS_ROOT]/wp-content/plugins/buddypress-docs/lib/nuvola): failed to open dir: No such file or directory in /home/poblsystems/public_html/intranet/wp-includes/post.php on line 5308

    These functions seem to be the only place nuvola is referenced:

    	public static function icon_dir( $dir ) {
    		if ( bp_docs_is_docs_component() ) {
    			$dir = BP_DOCS_INSTALL_PATH . 'lib/nuvola';
    		}
    		return $dir;
    	}
    
    	public static function icon_dir_uri( $url ) {
    		if ( bp_docs_is_docs_component() ) {
    			$url = plugins_url( BP_DOCS_PLUGIN_SLUG . '/lib/nuvola' );
    		}
    		return $url;
    	}

    Is something missing from the latest commit?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Cavins

    (@dcavins)

    Hi @mattagland-

    Thanks for your report! The “nuvola” library was removed about 4 years ago, but the filter on the icon_dir was deprecated in WP 2.5 (released way back in 2008). So it’s kind of amazing that anything is still using that old filter.

    That was an interesting trip through time. We’ll get it fixed in a future release. If you’d like to stop the warnings being written to you log, comment out the lines listing the icon_dir and icon_dir_uri filters here:
    https://github.com/boonebgorges/buddypress-docs/blob/1.9.2/includes/attachments.php#L32

    Best,

    -David

    jomo

    (@jonathanmoorebcsorg)

    thanks, I also noticed this…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘nuvola missing directory’ is closed to new replies.