• Resolved fabykennedy

    (@fabykennedy)


    Good evening. I’ve published a new article today but when I tried to update Posts in Sidebar inserting the article ID, everything crashed. The layout was completely broken.

    I tried to uninstall and install it again but no way, it doesn’t work. It’s showing no more the broken layout I experienced earlier, but there are no articles, just a string of code.

    You can see the screenshot here.

    Thank you.

    • This topic was modified 2 years, 8 months ago by fabykennedy.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Aldo Latino

    (@aldolat)

    Hi @fabykennedy,
    the error is generated by WordPress itself and I’ve never seen this error.

    I think you entered some IDs in the relevant field, in order to display some specific articles. If so, please let me know the query, activating the specific option “Display the query for the widget” in the Debug section.

    Thread Starter fabykennedy

    (@fabykennedy)

    Thanks for the answer. Here’s the query.

    `Posts in Sidebar Debug
    Informazioni di ambiente:

    URL DEL SITO: https://WWW.WINGEDTEACHER.COM
    URL DELLA PAGINA: https://WWW.WINGEDTEACHER.COM
    VERSIONE DI WP: 5.9.1
    VERSIONE DI PIS: 4.16.3
    ID DEL WIDGET: PIS_TRANSIENTS_PIS_POSTS_IN_SIDEBAR-4
    CACHE: ATTIVA.
    CREATA IL: 6 MARCH 2022 22:57
    SCADRà IL: 6 MARCH 2022 23:53
    DURATA: 56 MINUTI
    TEMPO TRASCORSO: 1 MINUTO
    SCADE IN: 55 MINUTI
    QUERY: 50 QUERY IN 1,006 SECONDI
    I parametri della query:

    POST_TYPE: POST
    POST__IN:
    0: 3386
    1: 5984
    2: 2199
    3: 3371
    4: 2380
    5: 5724
    6: 1948
    7: 2436
    8: 1974
    9: 1857
    10: 3010
    CATEGORY_NAME: GESTIONE
    DATE_QUERY:
    INCLUSIVE: 1
    POSTS_PER_PAGE: 6
    ORDERBY: POST__IN
    ORDER: DESC
    POST_STATUS: PUBLISH
    IGNORE_STICKY_POSTS: TRUE
    Le opzioni del widget:

    TITLE: SELEZIONATI PER TE
    POST_TYPE: POST
    POSTS_ID: 8837, 8075, 4363, 3010
    POSTS_BY_COMMENTS: TRUE
    NUMBER: 6
    ORDERBY: DATE
    ORDER: DESC
    POST_STATUS: PUBLISH
    HAS_PASSWORD: NULL
    IGNORE_STICKY: TRUE
    GET_FROM_SAME_CAT: TRUE
    SORT_CATEGORIES: TRUE
    YOAST_MAIN_CAT: TRUE
    ORDERBY_SAME_CAT: DATE
    ORDER_SAME_CAT: DESC
    SEARCH_SAME_CAT: TRUE
    POST_TYPE_SAME_CAT: POST
    GET_FROM_SAME_TAG: TRUE
    SORT_TAGS: TRUE
    ORDERBY_SAME_TAG: DATE
    ORDER_SAME_TAG: DESC
    SEARCH_SAME_TAG: TRUE
    POST_TYPE_SAME_TAG: POST
    GET_FROM_SAME_AUTHOR: TRUE
    ORDERBY_SAME_AUTHOR: DATE
    ORDER_SAME_AUTHOR: DESC
    SEARCH_SAME_AUTHOR: TRUE
    POST_TYPE_SAME_AUTHOR: POST
    GET_FROM_CUSTOM_FLD: TRUE
    ORDERBY_CUSTOM_FLD: DATE
    ORDER_CUSTOM_FLD: DESC
    SEARCH_SAME_CF: TRUE
    POST_TYPE_SAME_CF: POST
    GET_FROM_SAME_POST_FORMAT: TRUE
    ORDERBY_SAME_POST_FORMAT: DATE
    ORDER_SAME_POST_FORMAT: DESC
    SEARCH_SAME_POST_FORMAT: TRUE
    POST_TYPE_SAME_POST_FORMAT: POST
    DONT_IGNORE_PARAMS: TRUE
    GET_FROM_CAT_PAGE: TRUE
    ORDERBY_CAT_PAGE: DATE
    ORDER_CAT_PAGE: DESC
    POST_TYPE_CAT_PAGE: POST
    GET_FROM_TAG_PAGE: TRUE
    ORDERBY_TAG_PAGE: DATE
    ORDER_TAG_PAGE: DESC
    POST_TYPE_TAG_PAGE: POST
    GET_FROM_AUTHOR_PAGE: TRUE
    ORDERBY_AUTHOR_PAGE: DATE
    ORDER_AUTHOR_PAGE: DESC
    POST_TYPE_AUTHOR_PAGE: POST
    GET_FROM_POST_FORMAT_PAGE: TRUE
    ORDERBY_POST_FORMAT_PAGE: DATE
    ORDER_POST_FORMAT_PAGE: DESC
    POST_TYPE_POST_FORMAT_PAGE: POST
    DONT_IGNORE_PARAMS_PAGE: TRUE
    DATE_INCLUSIVE: TRUE
    GET_FROM_USERNAME: TRUE
    USE_CATEGORIES: TRUE
    DONT_IGNORE_PARAMS_USERNAME: TRUE
    EXCLUDE_CURRENT_POST: TRUE
    DISPLAY_TITLE: TRUE
    LINK_ON_TITLE: TRUE
    ARROW: TRUE
    TITLE_LENGTH_UNIT: WORDS
    TITLE_HELLIPSIS: TRUE
    HTML_TITLE_TYPE_OF: P
    DISPLAY_IMAGE: TRUE
    IMAGE_SIZE: THUMBNAIL
    IMAGE_ALIGN: NOCHANGE
    IMAGE_BEFORE_TITLE: TRUE
    CUSTOM_IMG_NO_THUMB: TRUE
    IMAGE_LINK_TO_POST: TRUE
    EXCERPT: NONE
    EXC_LENGTH: 20
    EXC_LENGTH_UNIT: WORDS
    THE_MORE: LEGGI IL SEGUITO…
    EXC_ARROW: TRUE
    DISPLAY_AUTHOR: TRUE
    AUTHOR_TEXT: DI
    LINKIFY_AUTHOR: TRUE
    GRAVATAR_DISPLAY: TRUE
    GRAVATAR_SIZE: 32
    GRAVATAR_POSITION: NEXT_AUTHOR
    DISPLAY_DATE: TRUE
    DATE_TEXT: PUBBLICATO IL
    LINKIFY_DATE: TRUE
    DISPLAY_TIME: TRUE
    DISPLAY_MOD_DATE: TRUE
    MOD_DATE_TEXT: MODIFICATO IL
    LINKIFY_MOD_DATE: TRUE
    DISPLAY_MOD_TIME: TRUE
    COMMENTS: TRUE
    COMMENTS_TEXT: COMMENTI:
    LINKIFY_COMMENTS: TRUE
    DISPLAY_COMM_NUM_ONLY: TRUE
    HIDE_ZERO_COMMENTS: TRUE
    UTILITY_SEP: |
    UTILITY_AFTER_TITLE: TRUE
    UTILITY_BEFORE_TITLE: TRUE
    CATEGORIES: TRUE
    CATEG_TEXT: CATEGORIA:
    CATEG_SEP: ,
    CATEG_BEFORE_TITLE: TRUE
    CATEG_AFTER_TITLE: TRUE
    TAGS: TRUE
    TAGS_TEXT: TAG:
    HASHTAG: #
    TAGS_BEFORE_TITLE: TRUE
    TAGS_AFTER_TITLE: TRUE
    DISPLAY_CUSTOM_TAX: TRUE
    TERM_SEP: ,
    CTAXS_BEFORE_TITLE: TRUE
    CTAXS_AFTER_TITLE: TRUE
    CUSTOM_FIELD_ALL: TRUE
    CUSTOM_FIELD: TRUE
    CUSTOM_FIELD_HELLIP: …
    CUSTOM_FIELD_KEY: TRUE
    CUSTOM_FIELD_SEP: :
    CF_BEFORE_TITLE: TRUE
    CF_AFTER_TITLE: TRUE
    ARCHIVE_LINK: TRUE
    LINK_TO: CATEGORY
    AUTO_TERM_NAME: TRUE
    ARCHIVE_TEXT: VISUALIZZA TUTTI GLI ARTICOLI SOTTO %S
    NOPOST_TEXT: ANCORA NESSUN ARTICOLO.
    HIDE_WIDGET: TRUE
    MARGIN_UNIT: PX
    LIST_ELEMENT: UL
    REMOVE_BULLETS: TRUE
    ADD_WP_POST_CLASSES: TRUE
    CACHED: TRUE
    CACHE_TIME: 3600
    WIDGET_ID: PIS_POSTS_IN_SIDEBAR-4
    ADMIN_ONLY: TRUE
    DEBUG_QUERY: TRUE
    DEBUG_PARAMS: TRUE
    DEBUG_POST_ID: TRUE

    Plugin Author Aldo Latino

    (@aldolat)

    Are all the posts under the category “gestione”? If you use IDs directly, there is no need to setup a taxonomy. If you setup a taxonomy along with IDs, only the posts with those IDs and under that taxonomy will be displayed. try removing the category from the query and disable the cache for the moment.

    Thread Starter fabykennedy

    (@fabykennedy)

    I don’t think I set up any category, I just inserted the IDs.

    try removing the category from the query and disable the cache for the moment.

    Can you tell me how to do it?

    Thread Starter fabykennedy

    (@fabykennedy)

    All right I solved everything simply setting up the articles through the “Customize” button. In other words I didn’t make my edits using the control panel menu. I really can’t say what happened before when I added that ID but I’m glad everything is ok now. Thanks very much for your support.

    Plugin Author Aldo Latino

    (@aldolat)

    You are very welcome! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘It doesn’t work anymore (string of code instead of posts)’ is closed to new replies.