"Call to undefined function get_plugin_data()" on conversation form with landing page?

By: Andy A | Asked: 07/22/2022
ForumsCategory: General questions"Call to undefined function get_plugin_data()" on conversation form with landing page?
Andy A asked 2 years ago

Is anyone else getting the PHP error "Call to undefined function get_plugin_data()" when trying to view a conversation form on a landing page? After updating to Formidable v5.4.2 I get this error. I'm running v1.0.01 of Conversation Forms and Landing Pages 1.0.01
I can fix the problem by adding

if( ! function_exists('get_plugin_data' ){

        require_once( ABSPATH . 'wp-admin/includes/plugin.php' ;
    }

on line 9 of

formidable-chat/classes/helpers/FrmChatAppHelper.php

but I wouldn't think that should be required and it was working yesterday...

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right