WordPress.org

Ready to get started?Download WordPress

Forums

WP User Frontend
[resolved] Error after upgrade (9 posts)

  1. Sofian J. Anom
    Member
    Posted 2 years ago #

    Hi, @tareq1988

    I'm using WordPress 3.4 and the multisite setting with BuddyPress installed, after upgrading to version 1.0 I get this error:

    Warning: call_user_func_array () expects parameter 1 to be a valid callback, function 'upload_size_limit_filter' not found or invalid function name in /home/xyz/public_html/xyz.com/wp-includes/plugin.php on line 170

    If this is a bug, hopefully soon be fixed.

    Thank you for your really great plugin.

    Anom

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. Tareq Hasan
    Member
    Plugin Author

    Posted 2 years ago #

    I think it's happening for only Multi site users. Thats why I didn't encountered this problem.

  3. Philipp
    Member
    Posted 2 years ago #

    Hi Tareq,

    first of all "GREAT JOB" - There's a huge difference between V0.7 and V1.0 and I really like the new way of attachment upload,...

    I already updated at an single WordPress site and there it's working great. At another WordPress Multisite I get the following error and the "Upload image" of the featured image upload isn't working:

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

    It would be great to find a solution for that. Maybe someone has a fix or an idear.

    Thank you!

    Philipp

  4. Philipp
    Member
    Posted 2 years ago #

    OK. As in Multisite the super admin is able to set the max_file_upload for all blogs I had to comment out a line (no. 145) in wpuf.php:

    // 'max_file_size' => wp_max_upload_size() . 'b',

    Hope this helps some others, too.

    Best!

  5. Tareq Hasan
    Member
    Plugin Author

    Posted 2 years ago #

    Try the version from github and let me know if it's working fine.

  6. Sofian J. Anom
    Member
    Posted 2 years ago #

    Hi, Tareq Hasan, glad to see my post quickly get reply.

    I just use the version from github updates, error has disappeared and generally the plugin is working properly. But there may be the little bugs: the content field appear only when the "Content editor type" is set to "Rich Text (tiny or full)", but when set to "Plain Text" the content field does not appear. In addition, the "Default post category" drop down selection is empty. Although this little bug not too annoying to me, for others might be a problem. Hopefully this can be fixed immediately.

  7. Tareq Hasan
    Member
    Plugin Author

    Posted 2 years ago #

    I don't see any problem with editor, working fine here.

    Maybe those category has no post, thats why it isn't populating. Will be fixed.

  8. Sofian J. Anom
    Member
    Posted 2 years ago #

    Oh yes, apparently that's the problem. After I make a post, the category was then show up. I'm sorry to be inaccurate.

    Thanks, Tareq.

  9. anandbala
    Member
    Posted 1 year ago #

    Hi there

    i installed the plugi in network(multisite) every thing working fine but the featured image option is not shown could u help me

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic