Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

PHP Fatal error: Too few arguments for em_bp_rewrite_edit_url()

$
0
0

Replies: 0

Hi, love the plugin, but I’m getting this error when I click on the ‘Edit Recurring Events’ link that shows up in the list on the page /members/me/events/my-events

Here is the full error code I’m getting:

[03-May-2021 16:09:09 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function em_bp_rewrite_edit_url(), 1 passed in /wp-includes/class-wp-hook.php on line 292 and exactly 2 expected in /wp-content/plugins/events-manager/buddypress/bp-em-core.php:294
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): em_bp_rewrite_edit_url('https://www....')
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters('https://www....', Array)
#2 /wp-content/plugins/events-manager/classes/em-permalinks.php(323): apply_filters('em_get_events_a...', 'https://www....')
#3 /wp-content/plugins/events-manager/templates/forms/event/recurring-when.php(30): em_get_events_admin_url()
#4 /wp-content/plugins/events-manager/events-manager.php(671): include('/wp-includes...')
#5 /wp-content/plugins/ in /wp-content/plugins/events-manager/buddypress/bp-em-core.php on line 294

Weirdly(?), if I click on the link to ‘Repeat Event’, I get the event edit screen with no errors, but only for the one event recurrence. I can’t edit the series.

And, I confirmed that this is still broken using the WP Safe Mode plugin – with 2021 theme and only the BuddyPress plugins enabled (or this page doesn’t even exist).

Thank you so much for the plugin. Hopefully I’ve included enough info here that maybe you can point me in the right direction.

Thank you!


Viewing all articles
Browse latest Browse all 59525

Trending Articles