yup.. right there line 1003? wish I could answer this myself? blind guess wp_cache_set stumbling with bp_init? ~ @JJJ – little help please.
Hmm…
Does your plugin use ajax? I haven’t specifically tried hooking a plugin into the ajax portion of the activity stream to know if the method of loading a plugin from the codex will work in an ajax situation.
Yes, the plugins using Ajax.. Is there any fix to get it working in an Ajax environment?
It’s important to clear this up before 1.2 final, can we get a ticket in trac please? Thanks.
For now I’m including ‘wp-load.php’ if the plugin gets requested by Ajax, and things are working fine.
For now I’m including ‘wp-load.php’ if the plugin gets requested by Ajax, and things are working fine.
You should be using the wp_ajax_ hook to run your AJAX functions and using the ajaxurl parameter in JS as the request URL. IF you do that then the WP environment should be loaded. Basically exactly how all ajax is done in bp-default.