• I started seeing a very odd error in my debug.log, and a Google search isn’t providing any help at all.

    PHP Notice: Undefined index: enable_FIFU in /wp-content/plugins/magic-post-thumbnail-premium/magic_post_thumbnail.php on line 843

    referring to:

           	if ( mpt_freemius()->is__premium_only() ) {
                // Compatibility with the plugin "Featured Image from URL"
                
                if ( $main_settings['enable_FIFU'] == true && is_plugin_active( 'featured-image-from-url/featured-image-from-url.php' ) ) {
                    global  $url_image ;
                    $url_image = $url_results;
                    // Disable action : Better to do it directly
                    //add_action( 'save_post', array( &$this, 'MPT_FIFU_compatibility' ), 12, 1 ); // Add image url to "Featured Image from URL" field
                    fifu_dev_set_image( $id, $url_image );
                    $log->info( 'Featured image attached with FIFU plugin', array(
                        'post'	=> $id,
                        'url_image' => $url_image,
                    ) );
                    return true;
                    // No need more. Stop the run now
                }
            
           	}
    • This topic was modified 3 years, 3 months ago by splaquet. Reason: adding content
Viewing 1 replies (of 1 total)
  • Thread Starter splaquet

    (@splaquet)

    any feedback or updates on this? still seeing these notices in the debug.log:

    PHP Notice:  Constant DOING_CRON already defined in /public_html/wp-content/plugins/magic-post-thumbnail-premium/inc/cron.php on line 114
    PHP Notice:  Trying to access array offset on value of type bool in /public_html/wp-content/plugins/magic-post-thumbnail-premium/magic_post_thumbnail.php on line 223
    PHP Notice:  Undefined index: enable_FIFU in /public_html/wp-content/plugins/magic-post-thumbnail-premium/magic_post_thumbnail.php on line 843
    
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice: Undefined index: enable_FIFU’ is closed to new replies.