Plugin fails activation if Polylang is activated
-
PHP Fatal error: Uncaught Error: Call to a member function get_setting() on null in /wp-content/plugins/geodirectory/geodirectory_hooks_actions.php:2834
Related code is:
if (function_exists('icl_object_id')) { global $sitepress; if ($sitepress->get_setting('sync_comments_on_duplicates')) {Polylang implements icl_object_id as part of its legacy wpml compatibility, but does not implement $sitepress->get_setting so this code dies and plugin is not activated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Plugin fails activation if Polylang is activated’ is closed to new replies.