• creatie

    (@creatie)


    Hello,

    I’ve been using MailPoet with the “fix for radiokapi” (wysija-newsletters/core/model.php, lines 32-39) :

    function WYSIJA_model($extensions=''){
            if(defined('WYSIJA_DBG') && WYSIJA_DBG>0) $this->dbg=true;
            global $wpdb;
            $this->wpprefix=$wpdb->prefix;
            if($extensions) $this->table_prefix=$extensions;
            //fix for radiokapi
            //$this->wpprefix=$wpdb->base_prefix;
        }

    I’ve upgraded to 2.7.2 and the code has changed :

    function __construct($extensions=''){
            if(defined('WYSIJA_DBG') && WYSIJA_DBG>0) $this->dbg=true;
            global $wpdb;
            $this->wpdb = $wpdb;
            $this->wpprefix=$this->wpdb->prefix;
            if($extensions) $this->table_prefix=$extensions;
        }

    I’ve changed the line to “$this->wpprefix=$this->wpdb->base_prefix” but this time this is not enough and MailPoet doesn’t find the database tables. I have a multisite WordPress, all sites using the same tables, and now newsletters and subscribers appear only on the main site.

    What should I do to fix this problem? Thanks a lot for this great plugin,

    Mim

    https://ww.wp.xz.cn/plugins/wysija-newsletters/

Viewing 1 replies (of 1 total)
  • Wysija

    (@wysija)

    Hi,

    Unfortunately we do not have the resources to help with a complex customization like this. I’d recommend hiring a developer directly to make the fix.

Viewing 1 replies (of 1 total)

The topic ‘New fix for radiokapi ?’ is closed to new replies.