Support » Plugin: Black Studio TinyMCE Widget » ReferenceError: OMSC_PLUGIN_PATH_URL is not defined

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marco Chiesi

    (@marcochiesi)

    Our plugin does not contain any reference to OMSC_PLUGIN_PATH_URL so your issue is definitely not caused by our plugin. Please try to selectively disable other plugins until you find the one which is triggering that error. Alternatively you may perform a full text search on your plugins folders to locate it.

    I got this problem after updating to version 1.3.0 and it appears the conflict is with Olevmedia Shortcodes. Any ideas on what I can do to fix this?

    Thread Starter hami2204

    (@hami2204)

    THX

    Plugin Author Marco Chiesi

    (@marcochiesi)

    This issue is caused by Olevmedia Shortcodes plugin, which does not support the widgets editor integration.

    You should make the following changes:

    1. In file /olevmedia-shortcodes/functions/button.php
    replace

    if( 'post.php' != $pagenow && 'post-new.php' != $pagenow )

    with

    if( 'post.php' != $pagenow && 'post-new.php' != $pagenow && 'widgets.php' != $pagenow )

    2. In file /olevmedia-shortcodes/functions/interface.php
    replace

    if( 'post.php' != $hook && 'post-new.php' != $hook )

    with

    if( 'post.php' != $hook && 'post-new.php' != $hook && 'widgets.php' != $hook )

    Thread Starter hami2204

    (@hami2204)

    THX a lot

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ReferenceError: OMSC_PLUGIN_PATH_URL is not defined’ is closed to new replies.