Support » Plugin: Simple Lightbox » 2.0RC2.1 cause conflicts when editing posts

  • Resolved peemau


    I’m the author of TinyMCE Xiami Music []

    I updated to 2.0RC2.1 recently, and when I’m trying to use my plugin ,there is an error:
    Fatal error: Call to a member function add_theme_page() on a non-object in /home/www/public_html/wp-content/plugins/simple-lightbox/model.php on line 237

    then I deactivated all other plugins, and tried WP-Syntax Button [], there is also an error

    but it works fine with version

Viewing 1 replies (of 1 total)
  • Plugin Author Archetyped


    Hi, sorry for the delay.

    That error indicates that WP was not loaded properly.

    wp-admin/admin.php loads WP (wp-load.php) at the proper time for admin pages. It appears that the music-search.php file in your plugin is loading WP in the wrong order. For admin pages, wp-admin/admin.php should be loaded (to set the necessary constants) before loading WP itself (wp-load.php), which loads plugins, etc.

    Allow admin.php to load WP itself in the proper order and your issue should be resolved.

Viewing 1 replies (of 1 total)
  • The topic ‘2.0RC2.1 cause conflicts when editing posts’ is closed to new replies.