Compatability with ThreeWP Broadcast
-
Author of ThreeWP Broadcast – network content sharing plugin.
A user of mine has requested that I build a compatability plugin between Polylang and Broadcast. My plugin works by copying posts +meta +taxonomies to selected blogs in the network, and then linking the broadcasted posts to the original.
My user would like the translations (links) to be broadcastable also. Upon broadcasting a fatal error is thrown:
Using $this when not in object context in polylang/admin/admin-filters-post.php on line 54
This I’ve managed to fix by referencing the $polylang global, but after fixing that there are several other places that use $this.
The problem seems to be that you your class methods are being called statically when they shouldn’t.
Strict standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method PLL_Admin_Filters_Post::parse_query() should not be called statically in wp-includes/plugin.php on line 580
In order to finish writing the compatability plugin, I need for Polylang to fix those references, else I can’t do any translation finding / saving. Unless you have another way of fixing it?
- The topic ‘Compatability with ThreeWP Broadcast’ is closed to new replies.