• Resolved MCGWD

    (@mginop)


    I get the following error in an alert box when trying to use the “General Calendar” skin:

    There was an error while fetching events!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor webnus

    (@webnus)

    Hello @mginop,

    Sorry for the late reply

    I fully examined the issue you have raised on this topic and could not see it on my end.

    We need to know the steps to replicate.

    I would then forward it to the developer team to fix the issues in the upcoming updates. There is nothing to be worried about. We will fix the issues, I also appreciate you for reporting the issues. Please send details as steps to reproduce in a fresh WordPress.

    Also, can you please provide some info on the plugins and the theme you have too?

    For troubleshooting, please deactivate all your plugins and let the MEC remain active only, set your theme on default, then reload the page, if the issue was solved, then activate your plugins one by one and your theme, refresh your page and check to see which plugin is causing the issue.

    Please keep us informed,

    Best Regards

    Thread Starter MCGWD

    (@mginop)

    Thanks, it turns out it was a problem with the following code in my child theme’s functions.php:

    # block user enumeration using author ID
    if (!is_admin()) { if (preg_match('/author=([0-9]*)/i', $_SERVER['QUERY_STRING'])) die();
    	add_filter('redirect_canonical', 'mcgwd_block_user_enumeration', 10, 2);
    }
    function mcgwd_block_user_enumeration($redirect, $request) {
    	if (preg_match('/\?author=([0-9]*)(\/*)/i', $request)) die();
    	else return $redirect;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“there was an error while fetching events!”’ is closed to new replies.