Closed yangqiceng closed 11 months ago
So I assume you are using the widget and see this error only when selecting category id 1?
yes, and I use the old version, it's normal.
Sorry, 'old version'? What do you mean?
previous version is ok
Klemens Starybrat @.***> 于 2023年11月8日周三 16:26写道:
Sorry, 'old version'? What do you mean?
— Reply to this email directly, view it on GitHub https://github.com/picandocodigo/List-Category-Posts/issues/506#issuecomment-1801308039, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMT6WVSZMFR6GYTGWAVUNLYDM64TAVCNFSM6AAAAAA5S5O7V6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBRGMYDQMBTHE . You are receiving this because you authored the thread.Message ID: @.***>
Can you be more specific? What old version, what number?
0.88.1 is ok
Klemens Starybrat @.***> 于 2023年11月9日周四 03:45写道:
Can you be more specific? What old version, what number?
— Reply to this email directly, view it on GitHub https://github.com/picandocodigo/List-Category-Posts/issues/506#issuecomment-1802542973, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMT6WTDCUOKSZPGSQD7YCTYDPOORAVCNFSM6AAAAAA5S5O7V6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBSGU2DEOJXGM . You are receiving this because you authored the thread.Message ID: @.***>
I can't reproduce it. I think the reason is related to where exactly the widget is placed. Is it in the footer, sidebar or something else? Does the error appear on all pages or just specific ones?
sidebar, you may search it on Google, some website may show this error
Klemens Starybrat @.***> 于 2023年11月13日周一 17:47写道:
I can't reproduce it. I think the reason is related to where exactly the widget is placed. Is it in the footer, sidebar or something else? Does the error appear on all pages or just specific ones?
— Reply to this email directly, view it on GitHub https://github.com/picandocodigo/List-Category-Posts/issues/506#issuecomment-1807799495, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMT6WQBVGIWJ2FDOWTVD73YEHUDFAVCNFSM6AAAAAA5S5O7V6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXG44TSNBZGU . You are receiving this because you authored the thread.Message ID: @.***>
Ok, I see but still can't reproduce. Can you post a screenshot of your LCP widget configuration?
I was able to reproduce, will prepare a fix
Awesome, thank you so much!
Klemens Starybrat @.***> 于 2023年11月13日周一 21:03写道:
I was able to reproduce, will prepare a fix
— Reply to this email directly, view it on GitHub https://github.com/picandocodigo/List-Category-Posts/issues/506#issuecomment-1808125688, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMT6WXV46P5KA2MX627KE3YEILBBAVCNFSM6AAAAAA5S5O7V6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYGEZDKNRYHA . You are receiving this because you authored the thread.Message ID: @.***>
Warning: Attempt to read property “cat_ID” on null in /home/www/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 93
Warning: Attempt to read property “name” on null in /home/www/wp-content/plugins/list-category-posts/include/lcp-widget.php on line 94
I searched on Google, and find some website show this too.
Default category. ID 1. Other category is ok. Version 0.89 Wordpress 6.3.1