• Resolved momo-fr

    (@momo-fr)


    Hi, since the 2.6.1 update I can no longer create newsletter, even after copying the second step displays a blank page aministration.

    I have done tests, with my theme Nevada does not work, with the theme Wp Twenty Fourteen Works!

    Big problem with my customer theme… ??

    I re-installed 2.5.3 I had in stock and it works with Nevada.

    Any ideas ?

    Regards.

    Jean

    https://www.ads-software.com/plugins/wysija-newsletters/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter momo-fr

    (@momo-fr)

    Hi, Matthias help me on Nevada Theme support, I give you the solution:

    It’s a naming conflict.

    While our code is wrapped by this snippet ( which is the save way to code ) :

    if ( !function_exists( ‘cmp’ ) ) {
    function cmp( $a, $b ) {
    ….
    }
    }

    Your plugin code does not have this wrapper and the whole site breaks. When viewing their code:

    function cmp($a, $b) {
    }

    It’s an empty function. Not sure why they have this code in there , it even not in use. At the current stage I would say, please open this file here :

    wp-content/plugins/wysija-newsletters/views/back/campaigns.php and go to line 1816 and remove the function. This will solve the issue.

    I made ??the change and works well with MailPoet Nevada.

    If this little help …

    Regards.

    Jean

    Hi Momo-fr,

    We’ve spotted this problem, and the function was properly removed, thanks for the report man.

    There will be a release today later on with this fix.

    My Best Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update 2.6.1 does not work properly’ is closed to new replies.