WordPress.org

Support

Support » How-To and Troubleshooting » Slickr Gallery – Call_User Error

Slickr Gallery – Call_User Error

  • 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I am having the same problem. It works but the lightbox pop up us ugly and unformatted with the error.

    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

    Same problem here. Anyone got a fix?

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

    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):

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Slickr Gallery – Call_User Error’ is closed to new replies.
Skip to toolbar