• Resolved jdpower

    (@jdpower)


    Hi,

    I have a template on my wordpress.

    I can customize it fine when the wpmovielibrary plugin is disactivate.

    But if I do activate it I got this error while clicking on the Apparence Customize link.

    Uncaught ReferenceError: pagenow is not definedwpmoly.init @ wpmoly-utils.js?ver=2.1.4:303(anonymous function) @ wpmoly.js?ver=2.1.4:184m.Callbacks.j @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,json2,utils,plupload&ver=4.1.1:2m.Callbacks.k.fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,json2,utils,plupload&ver=4.1.1:2m.extend.ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,json2,utils,plupload&ver=4.1.1:2J @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,json2,utils,plupload&ver=4.1.1:2

    I look a bit in the code and it seem that it break on this:

    wpmoly.init = function() {

    if ( ( ‘edit-movie’ == pagenow && ‘edit-php’ == adminpage ) || ( ‘movie’ == pagenow && ‘post-new-php’ == adminpage ) )
    $( ‘#toplevel_page_wpmovielibrary, #toplevel_page_wpmovielibrary > a’ ).addClass( ‘wp-has-current-submenu wp-open-submenu’ );
    };

    Any Ideas?

    Thanks

    https://ww.wp.xz.cn/plugins/wpmovielibrary/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi jdpower,

    Stupid mistake on my part. It will be fixed in version 2.1.4.1 which should be released today!

    Thread Starter jdpower

    (@jdpower)

    Cool, I will test it as soon as it release.
    Thank!

    Thread Starter jdpower

    (@jdpower)

    Hi, it seem to have fixed the issue.
    Big thanks.

    However are we suposed to see any wpmovielibrary customization menu in the customization section?

    Because when I click on the appearence/customize link I see some wpmovielibrary link but they collapse quickly.

    So I was wondering if there were suposed to be there but just not showing for me.

    Yes, I noticed this too. No, the settings are not supposed to be accessible in the customizer; since the plugin and the cutomizer use the WordPress Settings API to store settings, the plugin settings seem to be loaded by the customizer and then quickly hidden by it as they have no use here. Weird 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cannot Customize wp while wpmovielibrary plugin is active’ is closed to new replies.