Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Greetings,

    I have the same issue on two different websites.
    My custom templates don’t appear in the dropdown list anymore and the “Simple” template is used instead.

    Both websites make use of woocommerce_template_path. The path to the folder containing my custom templates is displayed correctly in the admin (…mytheme/views/templates/woocommerce/pdf/yourtemplate).

    Reverting back to the previous version of the plugin (2.14.5) solves the issue.

    Thank you.

    Hi,

    Same problem here.

    In PermalinkListener::getPolylangLangSlug(), the language slugs should be put in a non-capturing group :
    '(?:' . implode( '|', $languages ) . ')/'

    Currently, it is being captured and saved as $matches[1], which is used for the page number.

    • This reply was modified 5 years, 1 month ago by Syltaen.
    Thread Starter Syltaen

    (@syltaen)

    Well,

    It was turned on, yes.
    But I changed the interval between each heartbeat, disabled/enabled the task and it seems it’s working now. I guess the interval was way too long.

    Anyway, the problem is fixed and I hope it stays that way :p

    Thank you for your help 🙂

    Thread Starter Syltaen

    (@syltaen)

    Thank you for your response.

    I just tried several different hours, but it didn’t change anything.
    The plugins works on my other websites that are set up just the same, so I don’t think the problem is coming from there.

    Thread Starter Syltaen

    (@syltaen)

    I really appreciate your understanding and I will make sure to read the guidelines.

    The triple post wasn’t intended however and I apologize for that.

    Thread Starter Syltaen

    (@syltaen)

    Oh come on, you could at least let me a bit of time to recover what I wrote before deleting everything 🙁

    I tried a gazillion of different things and got something different every time, but of course never what I wanted.

    Well, I’ll stick to my non-optimized way to do it.
    Thank you for your help, anyway.

    Thread Starter Syltaen

    (@syltaen)

    I actually can get the event I want by looping through all my events and comparing each ID to the one I have, but I would really want to know the “real” way to do it.

    Thread Starter Syltaen

    (@syltaen)

    I tried everything I could think of :

    $ev = eventbrite_get_event(15646619460, true);

    returns

    stdClass Object
    (
        [events] => Array
            (
                [0] => stdClass Object
                    (
                        [ID] =>
                        [post_title] =>
                        [post_content] =>
                        [post_date] =>
                        [post_date_gmt] =>
                        [url] =>
                        [logo_url] =>
                        [start] =>
                        [end] =>
                        [organizer] =>
                        [venue] =>
                        [public] =>
                        [tickets] =>
                        [format_id] =>
                    )
    
            )
    
        [pagination] => stdClass Object
            (
                [object_count] => 1
                [page_number] => 1
                [page_size] => 1
                [page_count] => 1
            )
    
    )
    $ev = new Eventbrite_Query( apply_filters( 'eventbrite_query_args', array(
                        'p' => 15646619460,                // integer
                    ) ) );

    and

    $ev = new Eventbrite_Query( array( 'p' => 15646619460 ) );

    returns

    Eventbrite_Query Object
    (
        [api_results:protected] => stdClass Object
            (
                [events] => Array
                    (
                        [0] => stdClass Object
                            (
                                [ID] =>
                                [post_title] =>
                                [post_content] =>
                                [post_date] =>
                                [post_date_gmt] =>
                                [url] =>
                                [logo_url] =>
                                [start] =>
                                [end] =>
                                [organizer] =>
                                [venue] =>
                                [public] =>
                                [tickets] =>
                                [format_id] =>
                            )
    
                    )
    
                [pagination] => stdClass Object
                    (
                        [object_count] => 1
                        [page_number] => 1
                        [page_size] => 1
                        [page_count] => 1
                    )
    
            )
    
        [query] => Array
            (
                [p] => 15646619460
            )
    
        [query_vars] => Array
            (
                [p] => 1533249724
                [error] =>
                [m] =>
                [post_parent] =>
                [subpost] =>
                [subpost_id] =>
                [attachment] =>
                [attachment_id] => 0
                [name] =>
                [static] =>
                [pagename] =>
                [page_id] => 0
                [second] =>
                [minute] =>
                [hour] =>
                [day] => 0
                [monthnum] => 0
                [year] => 0
                [w] => 0
                [category_name] =>
                [tag] =>
                [cat] =>
                [tag_id] =>
                [author] =>
                [author_name] =>
                [feed] =>
                [tb] =>
                [paged] => 0
                [comments_popup] =>
                [meta_key] =>
                [meta_value] =>
                [preview] =>
                [s] =>
                [sentence] =>
                [fields] =>
                [menu_order] =>
                [category__in] => Array
                    (
                    )
    
                [category__not_in] => Array
                    (
                    )
    
                [category__and] => Array
                    (
                    )
    
                [post__in] => Array
                    (
                    )
    
                [post__not_in] => Array
                    (
                    )
    
                [tag__in] => Array
                    (
                    )
    
                [tag__not_in] => Array
                    (
                    )
    
                [tag__and] => Array
                    (
                    )
    
                [tag_slug__in] => Array
                    (
                    )
    
                [tag_slug__and] => Array
                    (
                    )
    
                [post_parent__in] => Array
                    (
                    )
    
                [post_parent__not_in] => Array
                    (
                    )
    
                [author__in] => Array
                    (
                    )
    
                [author__not_in] => Array
                    (
                    )
    
            )
    
        [tax_query] =>
        [meta_query] =>
        [date_query] =>
        [posts] => Array
            (
                [0] => Eventbrite_Event Object
                    (
                        [ID] =>
                        [post_title] =>
                        [post_content] =>
                        [post_date] =>
                        [url] =>
                        [logo_url] =>
                        [start] =>
                        [end] =>
                        [post_author] =>
                        [organizer_id] =>
                        [venue] =>
                        [venue_id] =>
                        [post_date_gmt] =>
                        [organizer] =>
                        [public] =>
                        [tickets] =>
                        [format_id] =>
                    )
    
            )
    
        [post_count] => 1
        [current_post] => -1
        [in_the_loop] =>
        [post] => Eventbrite_Event Object
            (
                [ID] =>
                [post_title] =>
                [post_content] =>
                [post_date] =>
                [url] =>
                [logo_url] =>
                [start] =>
                [end] =>
                [post_author] =>
                [organizer_id] =>
                [venue] =>
                [venue_id] =>
                [post_date_gmt] =>
                [organizer] =>
                [public] =>
                [tickets] =>
                [format_id] =>
            )
    
        [comment_count] => 0
        [current_comment] => -1
        [found_posts] => 1
        [max_num_pages] => 1
        [max_num_comment_pages] => 0
        [is_single] => 1
        [is_preview] =>
        [is_page] =>
        [is_archive] =>
        [is_date] =>
        [is_year] =>
        [is_month] =>
        [is_day] =>
        [is_time] =>
        [is_author] =>
        [is_category] =>
        [is_tag] =>
        [is_tax] =>
        [is_search] =>
        [is_feed] =>
        [is_comment_feed] =>
        [is_trackback] =>
        [is_home] =>
        [is_404] =>
        [is_comments_popup] =>
        [is_paged] =>
        [is_admin] =>
        [is_attachment] =>
        [is_singular] => 1
        [is_robots] =>
        [is_posts_page] =>
        [is_post_type_archive] =>
        [query_vars_hash:WP_Query:private] => 8d61f81258ee81bac46708c518ef1e0f
        [query_vars_changed:WP_Query:private] =>
        [thumbnails_cached] =>
        [stopwords:WP_Query:private] =>
    )

    then

    $ev = eventbrite_get_events( apply_filters('eventbrite_query_args', array(
            'p' => 15646619460
        ) ) );
    $ev = eventbrite_get_events( array(
            'p' => 15646619460
        ) );
    $ev = eventbrite_get_events( array(
            'id' => 15646619460
        ) );

    return nothing at all

    and some others like

    $ev = eventbrite_get_events( )
    ;

    or

    $ev = new Eventbrite_Query( array( 'id' => 15646619460 ) );

    return all of my events

    Thread Starter Syltaen

    (@syltaen)

    I tried everything I could think of :

    $ev = eventbrite_get_event(15646619460, true);

    returns

    stdClass Object
    (
        [events] => Array
            (
                [0] => stdClass Object
                    (
                        [ID] =>
                        [post_title] =>
                        [post_content] =>
                        [post_date] =>
                        [post_date_gmt] =>
                        [url] =>
                        [logo_url] =>
                        [start] =>
                        [end] =>
                        [organizer] =>
                        [venue] =>
                        [public] =>
                        [tickets] =>
                        [format_id] =>
                    )
    
            )
    
        [pagination] => stdClass Object
            (
                [object_count] => 1
                [page_number] => 1
                [page_size] => 1
                [page_count] => 1
            )
    
    )
    Thread Starter Syltaen

    (@syltaen)

    I tried everything I could think of :

    $ev = eventbrite_get_event(15646619460, true);

    returns

    stdClass Object
    (
        [events] => Array
            (
                [0] => stdClass Object
                    (
                        [ID] =>
                        [post_title] =>
                        [post_content] =>
                        [post_date] =>
                        [post_date_gmt] =>
                        [url] =>
                        [logo_url] =>
                        [start] =>
                        [end] =>
                        [organizer] =>
                        [venue] =>
                        [public] =>
                        [tickets] =>
                        [format_id] =>
                    )
    
            )
    
        [pagination] => stdClass Object
            (
                [object_count] => 1
                [page_number] => 1
                [page_size] => 1
                [page_count] => 1
            )
    
    )
    $ev = new Eventbrite_Query( apply_filters( 'eventbrite_query_args', array(
                        'p' => 15646619460,                // integer
                    ) ) );

    and

    $ev = new Eventbrite_Query( array( 'p' => 15646619460 ) );

    returns

    Eventbrite_Query Object
    (
        [api_results:protected] => stdClass Object
            (
                [events] => Array
                    (
                        [0] => stdClass Object
                            (
                                [ID] =>
                                [post_title] =>
                                [post_content] =>
                                [post_date] =>
                                [post_date_gmt] =>
                                [url] =>
                                [logo_url] =>
                                [start] =>
                                [end] =>
                                [organizer] =>
                                [venue] =>
                                [public] =>
                                [tickets] =>
                                [format_id] =>
                            )
    
                    )
    
                [pagination] => stdClass Object
                    (
                        [object_count] => 1
                        [page_number] => 1
                        [page_size] => 1
                        [page_count] => 1
                    )
    
            )
    
        [query] => Array
            (
                [p] => 15646619460
            )
    
        [query_vars] => Array
            (
                [p] => 1533249724
                [error] =>
                [m] =>
                [post_parent] =>
                [subpost] =>
                [subpost_id] =>
                [attachment] =>
                [attachment_id] => 0
                [name] =>
                [static] =>
                [pagename] =>
                [page_id] => 0
                [second] =>
                [minute] =>
                [hour] =>
                [day] => 0
                [monthnum] => 0
                [year] => 0
                [w] => 0
                [category_name] =>
                [tag] =>
                [cat] =>
                [tag_id] =>
                [author] =>
                [author_name] =>
                [feed] =>
                [tb] =>
                [paged] => 0
                [comments_popup] =>
                [meta_key] =>
                [meta_value] =>
                [preview] =>
                [s] =>
                [sentence] =>
                [fields] =>
                [menu_order] =>
                [category__in] => Array
                    (
                    )
    
                [category__not_in] => Array
                    (
                    )
    
                [category__and] => Array
                    (
                    )
    
                [post__in] => Array
                    (
                    )
    
                [post__not_in] => Array
                    (
                    )
    
                [tag__in] => Array
                    (
                    )
    
                [tag__not_in] => Array
                    (
                    )
    
                [tag__and] => Array
                    (
                    )
    
                [tag_slug__in] => Array
                    (
                    )
    
                [tag_slug__and] => Array
                    (
                    )
    
                [post_parent__in] => Array
                    (
                    )
    
                [post_parent__not_in] => Array
                    (
                    )
    
                [author__in] => Array
                    (
                    )
    
                [author__not_in] => Array
                    (
                    )
    
            )
    
        [tax_query] =>
        [meta_query] =>
        [date_query] =>
        [posts] => Array
            (
                [0] => Eventbrite_Event Object
                    (
                        [ID] =>
                        [post_title] =>
                        [post_content] =>
                        [post_date] =>
                        [url] =>
                        [logo_url] =>
                        [start] =>
                        [end] =>
                        [post_author] =>
                        [organizer_id] =>
                        [venue] =>
                        [venue_id] =>
                        [post_date_gmt] =>
                        [organizer] =>
                        [public] =>
                        [tickets] =>
                        [format_id] =>
                    )
    
            )
    
        [post_count] => 1
        [current_post] => -1
        [in_the_loop] =>
        [post] => Eventbrite_Event Object
            (
                [ID] =>
                [post_title] =>
                [post_content] =>
                [post_date] =>
                [url] =>
                [logo_url] =>
                [start] =>
                [end] =>
                [post_author] =>
                [organizer_id] =>
                [venue] =>
                [venue_id] =>
                [post_date_gmt] =>
                [organizer] =>
                [public] =>
                [tickets] =>
                [format_id] =>
            )
    
        [comment_count] => 0
        [current_comment] => -1
        [found_posts] => 1
        [max_num_pages] => 1
        [max_num_comment_pages] => 0
        [is_single] => 1
        [is_preview] =>
        [is_page] =>
        [is_archive] =>
        [is_date] =>
        [is_year] =>
        [is_month] =>
        [is_day] =>
        [is_time] =>
        [is_author] =>
        [is_category] =>
        [is_tag] =>
        [is_tax] =>
        [is_search] =>
        [is_feed] =>
        [is_comment_feed] =>
        [is_trackback] =>
        [is_home] =>
        [is_404] =>
        [is_comments_popup] =>
        [is_paged] =>
        [is_admin] =>
        [is_attachment] =>
        [is_singular] => 1
        [is_robots] =>
        [is_posts_page] =>
        [is_post_type_archive] =>
        [query_vars_hash:WP_Query:private] => 8d61f81258ee81bac46708c518ef1e0f
        [query_vars_changed:WP_Query:private] =>
        [thumbnails_cached] =>
        [stopwords:WP_Query:private] =>
    )

    then

    $ev = eventbrite_get_events( apply_filters('eventbrite_query_args', array(
            'p' => 15646619460
        ) ) );
    $ev = eventbrite_get_events( array(
            'p' => 15646619460
        ) );
    $ev = eventbrite_get_events( array(
            'id' => 15646619460
        ) );

    return nothing at all

    and some others like
    $ev = eventbrite_get_events( );
    or
    $ev = new Eventbrite_Query( array( 'id' => 15646619460 ) );

    return all of my events

    Thread Starter Syltaen

    (@syltaen)

    I tried everything I could think of :

    [Please use a pastebin for that much code – http://codex.ww.wp.xz.cn/Forum_Welcome#Posting_Code ]

    return all of my events

    Thread Starter Syltaen

    (@syltaen)

    I’m still looking for help, if anyone wonder :p

Viewing 12 replies - 1 through 12 (of 12 total)