• Resolved EdFoC

    (@edfoc)


    I have had a notification of an error which looks like a clash between TablePress? and Friends plugin. The following might be useful to you.

    WordPress version 6.4.3 Active theme: EdFoc (version 1.0.0) Current plugin: TablePress (version 2.2.5) PHP version 8.2.16 Error Details ============= An error of type E_ERROR was caused in line 301 of the file /homepages/4/d951773880/htdocs/edfocNEW/wp-content/plugins/tablepress/models/model-options.php. Error message: Uncaught TypeError: TablePress_Options_Model::map_tablepress_meta_caps(): Argument #3 ($user_id) must be of type int, string given, called in /homepages/4/d951773880/htdocs/edfocNEW/wp-includes/class-wp-hook.php on line 324 and defined in /homepages/4/d951773880/htdocs/edfocNEW/wp-content/plugins/tablepress/models/model-options.php:301 Stack trace: #0 /homepages/4/d951773880/htdocs/edfocNEW/wp-includes/class-wp-hook.php(324): TablePress_Options_Model->map_tablepress_meta_caps() #1 /homepages/4/d951773880/htdocs/edfocNEW/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /homepages/4/d951773880/htdocs/edfocNEW/wp-includes/capabilities.php(842): apply_filters() #3 /homepages/4/d951773880/htdocs/edfocNEW/wp-includes/class-wp-user.php(777): map_meta_cap() #4 /homepages/4/d951773880/htdocs/edfocNEW/wp-content/plugins/friends/includes/class-admin.php(449): WP_User->has_cap() #5 /homepages/4/d951773880/htdocs/edfocNEW/wp-content/plugins/friends/includes/class-admin.php(1726): Friends\Admin::admin_edit_user_link() #6 /homepages/4/d951773880/htdocs/edfocNEW/wp-content/plugins/friends/includes/class-admin.php(1855): Friends\Admin->process_admin_add_friend_response() #7 /homepages/4/d951773880/htdocs/edfocNEW/wp-content/plugins/friends/includes/class-admin.php(2099): Friends\Admin->process_admin_add_friend() #8 /homepages/4/d951773880/htdocs/edfocNEW/wp-includes/class-wp-hook.php(324): Friends\Admin->render_admin_add_friend() #9 /homepages/4/d951773880/htdocs/edfocNEW/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #10 /homepages/4/d951773880/htdocs/edfocNEW/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /homepages/4/d951773880/htdocs/edfocNEW/wp-admin/admin.php(259): do_action() #12 {main} thrown

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    I have a suspicion what’s going on here, but I’m not completely sure who is to “blame” for this… It seems like a wrong data type is passed to a function (a string instead of an integer) for some reason.

    Just to confirm: Are you seeing this error with only TablePress and Friends activated? If possible, we should rule out that other plugins (which might be using a certain plugin filter hook) play a role here.

    Regards,
    Tobias

    Thread Starter EdFoC

    (@edfoc)

    I have only had the error message with TablePress and Friends plugins activated, and then only the once.

    It hasn’t really caused any great problems, but I reported it because I thought you should know, in case it caused problems for others. I should really report it to the Friends plugin developers as well.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    Thanks for those details! As soon as I find some time (I’m moving to a new place this week), I’ll try to replicate this issue and will investigate it further!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Clash with Friends plugin’ is closed to new replies.