• I am writing a widget plugin in wordpress 3.3.1 that modifies some jquery code that requires a cache folder. I set it up out of wordpress and it works great!

    I’ve worked it into a widget, and this is what I get:

    Warning: ./cache/a4be6a41cf6b6178c08e44905a8568d0.spc is not writeable in /–address to file that wants to write to a cashe folder.

    I’ve checked permissions and annoyed the heck out of more than one godaddy tech.

    I turned on error reporting and got this (three times below the header):Notice: Trying to get property of non-object in /home/content/myserver/html/wp-content/themes/Karma/functions/extended/page_linking.php on line 132

    function txfx_filter_links_to_pages ($link, $post) {
    	$page_links_to_cache = txfx_get_page_links_to_meta();
    
    	// Really strange, but page_link gives us an ID and post_link gives us a post object
    	$id = ( $post->ID ) ? $post->ID : $post;
    
    	if ( $page_links_to_cache[$id] )
    		$link = esc_url( $page_links_to_cache[$id] );
    
    	return $link;
    }

    Does wp permit this sort of cashing?

  • The topic ‘hand over the cache’ is closed to new replies.