• Resolved WP CMS Ninja

    (@billiardgreg)


    So old style I haven’t had this issue. Keep in mind this site is running WPML and 3 languages.

    But we are trying to update the style of the calendar to the new one and have run into nothing but issues. In a development environment I tried deactivating everything and reactivating and ran into this error message when attempting to reactivate PRO.

    Uncaught TypeError: Argument 1 passed to Tribe__Rewrite::remove_percent_placeholders() must be of the type array, bool given, called in /code/wp-includes/class-wp-hook.php on line 303 and defined in /code/wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php:177
    Stack trace:
    #0 /code/wp-includes/class-wp-hook.php(303): Tribe__Rewrite->remove_percent_placeholders(false)
    #1 /code/wp-includes/plugin.php(189): WP_Hook->apply_filters(false, Array)
    #2 /code/wp-includes/class-wp-rewrite.php(1462): apply_filters('rewrite_rules_a...', Array)
    #3 /code/wp-includes/class-wp-rewrite.php(1483): WP_Rewrite->rewrite_rules()
    #4 /code/wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php(900): WP_Rewrite->wp_rewrite_rules()
    #5 /code/wp-content/plugins/the-events-calendar/src/Tribe/Rewrite.php(618): Tribe__Rewrite->parse_request('/wp-admin/edit....', Array, false)
    #6 /code/wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php(1094): Tribe__Events__Rewrite->parse_wp-content/plugins/the-events-calendar/common/src/Tribe/Rewrite.php:177

    So I had to temporarily change the Rewrite.php function at line 177 to get it so I could get it to work at least a little bit. I put it back in the attempt to let the system work as it should.

    I had to do a wp-cli rewrite flush in order to get rid of a lot of the /(/?:list)/ permalink issues as doing a Settings Permalinks save did not do anything useful. I shouldn’t have to do the rewrite flush via the cli to get it to function even just this little bit.

    So there are times that it doesn’t completely change all of the (/?:instances) correctly, be it page|pagina. So while pagination on the Month view works, pagination on the list view works for spanish, while i was able to get french and english (default language) working fine.

    Also with this new update, we have the filters addon and its still showing the advertisement instead of allowing me to save anything on the filters tab. Checked the licensed tab and everything is green there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter WP CMS Ninja

    (@billiardgreg)

    Sorry, meant to say pagination for list view doesn’t work on one of the languages. Just strange how inconsistent the permalinks are with this new calendar style.

    Plugin Support Jaime

    (@jaimemarchwinski)

    Hi @billiardgreg

    I’m so sorry to hear that you are experiencing this issue. We are aware of this issue and are working on a fix for it. We will notify you in this thread when a fix has become available.

    In the meantime, keep the user profile language as the site default or set it to the same as the site.

    For WPML, you should use the site default language.

    I hope that helps!

    Thanks,
    Jaime

    Ref: 3733

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Switching to New Theme – Permalink Generation’ is closed to new replies.