"Pop Over not added." Message

We've used this plugin on other installations and it has worked flawlessly. Now when creating a Pop Up we just get a message that states "Pop Over not added." with no explanation what is wrong.

  • aristath
    • Recruit

    Hello there @mmedia,
    Can you please verify that you are using this as the administrator of your site?
    If yes, then please try the following:
    From your dashboard deactivate and DELETE the plugin.
    Then upload it via FTP (not using the automated installer) and re-activate it.

    Please let me know if that works...

    Cheers,
    Ari.

  • mmedia
    • The Incredible Code Injector

    @aristath It turned out to not be a plugin conflict. We are using the "New Blog Template" plugin, and this plugin stores an option popover_installed with a value of 5 so every site created with the "New Blog Template" plugin gets created with that option and value which prevents the databases from being created. Adding a function which checks for the presence of the databases upon saving the popup would be ideal.

    Example:

    global $wpdb;
    
    if( !$wpdb->get_row("SHOW TABLES LIKE '{$dbtable}'") ){
    	$sql = "CREATE TABLE  "  .$dbtable . "
    		(
    			id INT( 11 ) NOT NULL AUTO_INCREMENT ,
    			uid INT( 11 ) NOT NULL ,
    			column_one VARCHAR( 60 ) NOT NULL ,
    			column_two VARCHAR( 30 ) NOT NULL ,
    			time DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL ,
    			something VARCHAR( 100 ) NOT NULL ,
    			some_result VARCHAR (1) ,
    			data LONGTEXT NOT NULL ,
    			PRIMARY KEY ( id ) ,
    			INDEX ( uid, something, some_result )
    		);";
    
    	require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
    	dbDelta($sql);
    
    	$this->continue_saving_popup();
    }
  • Matt Jacoby
    • Flash Drive

    Hello,

    I just wanted to say that I am having the same problem with this plugin. It has been successful for me on other installations, so this was a surprise. I have gone through the solutions you provided here without much luck:

    - It is the only plugin that is currently active (out of 3 total installed plugins)
    - I switched to the Twenty Twelve theme with no luck
    - I have only installed it via FTP 3 times, never with the automatic installer
    - I also made sure to upgrade our install from 3.5.1 to 3.6.1

    Any more possible suggestions? Thanks!
    Matt

  • Ignacio
    • HummingBird

    Hi @DG.

    Could you add this piece of code at the end of blogtemplatesfiles/integration.php ?

    add_filter( 'blog_template_exclude_settings', 'nbt_popover_remove_install_setting', 10, 1 );
    function nbt_popover_remove_install_setting( $query ) {
    	$query .= " AND <code>option_name</code> != 'popover_installed' ";
    	return $query;
    }

    This should solve the issue.

    I'll add it in the next New Blog Templates release.

    Regards.
    Ignacio.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.