Fatal PHP Error on v5.0.0
-
The plugin causes a fatal error on the frontend in the newest version:
PHP Fatal error: Uncaught Error: Call to undefined function church_admin_sites_array() in /public_html/wp-content/plugins/church-admin/elementor/address-list-widget.php:57
This can be fixed by adding the following check for the existence of the ‘church_admin_sites_array’ function.
if( function_exists( 'church_admin_sites_array' ) )
$sites = church_admin_sites_array();
else
$sites = array();
- You must be logged in to reply to this topic.