- This topic has 10 replies, 2 voices, and was last updated 4 years, 11 months ago by _blank.
-
AuthorPosts
-
April 29, 2019 at 5:57 am #883067_blank
Hi,
I updated to the latest GP plugin and I noticed that all my Elements are not listed and are gone from the website, although the number of published Elements are shown. Please see the screen:
https://piotreba-my.sharepoint.com/:i:/g/personal/piotreba_piotreba_onmicrosoft_com/EZH78CysJS5LnMjaFYwe54YBkPRu_OaIifNGF04-GRxOLg?e=FhIkhbI put there a side menu, and now it’s gone from the website (but the admin shows the number of published elements).
Best, Peter
April 29, 2019 at 7:53 am #883324_blankOk, I needed to act quickly, so I created new elements. This might probably have something with WPML update as now I had to assign an element to a language. Nevertheless, I have no access to old elements, although the admin shows a number of previous elements.
Upon digging further, I noticed that even though I created a new layout element with No Sidebars for 404, I still see a sidebar there.
April 29, 2019 at 8:06 am #883341_blankAnd another update, I noticed that Elements post type had translation status set to Translatable – use translation if available or fallback to default language. I changed that to Not translatable and the problem was resolved. This change was applied after update of WPML or GeneratePress, I’m not sure. But I have an older copy of a website prior these plugins update and the translation setting of Elements post is set to Not translatable.
April 29, 2019 at 9:04 am #883413TomLead DeveloperLead DeveloperHi there,
Perhaps this topic will be helpful?: https://generatepress.com/forums/topic/update-to-1-8-breaks-gp-elements-in-wpml-sites/
You shouldn’t need to re-create anything.
April 30, 2019 at 7:31 am #884419_blankPartly, the issue is resolved.
However, I still cannot fix everything on one page upon update.1. I have a Layout element set up on two websites to show up only on 404 Template. The layout should have no sidebars. Please compare these two pages (the urls contain mistake intentionally to trigger 404):
https://ptber.org.pl/default/en/confernces/ (this page still shows a sidebar)
https://ispan.waw.pl/default/en/about-the-insitute/ (here it is ok, no sidebar)
2. Another example, a simple hook to show search box which has Entire website location, but on one website it is not showing on a blog page (while it shows on a single posts or pages). Please compare:
https://ptber.org.pl/default/en/news/ (no search box, but see a single post, e.g., https://ptber.org.pl/default/en/9th-conference-of-psepb-registration-is-now-open/ or page: https://ptber.org.pl/default/en/contact/)
https://ispan.waw.pl/default/en/news/ (search box present)Both websites use the same, latest version of GeneratePress and the GP Premium plugin.
April 30, 2019 at 9:09 am #884566TomLead DeveloperLead DeveloperAre the WPML settings the same on each site? Especially the one I took a screenshot of in that other topic?
April 30, 2019 at 9:31 am #884597_blankI checked again and I think these settings are similar. I made screens of both sites (page 1 concerns the “faulty” website):
https://documentcloud.adobe.com/link/track?uri=urn%3Aaaid%3Ascds%3AUS%3Af6faf94f-62ef-4e20-8124-bb1ee63dc48eshould you need a view of other settings let me know.
April 30, 2019 at 11:20 am #884703TomLead DeveloperLead DeveloperWhat happens if you select “Translatable – use translation if available or fallback to default language” instead of “Not translatable”?
May 3, 2019 at 12:31 am #887459_blankI checked that, the same results.
May 3, 2019 at 8:24 am #888052TomLead DeveloperLead DeveloperI’ve reported this to WPML, but you may want to as well. Things should be configured properly on our end (they helped configure it), so it may be a bug in WPML itself.
May 6, 2019 at 12:01 am #890229_blankGreat, thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.