WordPress.org

Ready to get started?Download WordPress

Forums

Slickr Gallery - Call_User Error (6 posts)

  1. vvillanova
    Member
    Posted 5 years ago #

    When editing a post and click on the "Flickr Photos" link, the window comes up, but within it, a "Warning: call_user_func_array()" message appears (see screenshot of error message here):

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'SlickrPlugin::upload_tabs_scripts' was given in /home/thewo32/public_html/hiremydog/wp-includes/plugin.php on line 339

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'media_admin_css' was given in /home/thewo32/public_html/hiremydog/wp-includes/plugin.php on line 339

    I have no idea what is causing this.
    - Post options have been changed to /year/month/day/
    - Lightbox2 is installed and activated
    - Slickr Gallery's root folder is unchanged (slickr-gallery)

    Any input is welcome, as I am completely stumped after two days of troubleshooting. Thanks.

  2. zeroenergyvt
    Member
    Posted 5 years ago #

    I am having the same problem. It works but the lightbox pop up us ugly and unformatted with the error.

  3. ilkrgz
    Member
    Posted 5 years ago #

    I have same problem. Version is 2.8.2

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'media_admin_css' was given in .../wp-includes/plugin.php on line 339

  4. crismdq
    Member
    Posted 5 years ago #

    Same problem here. Anyone got a fix?

  5. Taipa
    Member
    Posted 5 years ago #

    I have the same error. WP 2.8.4, Lightbox2 installed.

  6. henleylover
    Member
    Posted 4 years ago #

    Go to plug-ins editor
    Use the drop down menu and select "slickr gallery plug-in Press select

    Find, in the Slickr. php file (first file on the list) the following two lines of code (tip:
    it's located towards the bottom under function media_upload_content)

    add_action('admin_print_scripts', array(%$this, 'upload_tabs_scripts')):

    add_action('admin_print_scripts', media_admin_'CSS):

    Add // to the beginning of each of these lines. so it will look like

    //add_action('admin_print_scripts', array(%$this, 'upload_tabs_scripts')):

    //add_action('admin_print_scripts', media_admin_'CSS):

Topic Closed

This topic has been closed to new replies.

About this Topic