- This topic has 10 replies, 2 voices, and was last updated 1 year, 11 months ago by Piotr.
April 29, 2019 at 5:57 am #883067Piotr
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:
I put there a side menu, and now it’s gone from the website (but the admin shows the number of published elements).
Best, PeterGeneratePress 2.2.2GP Premium 1.8.1April 29, 2019 at 7:53 am #883324Piotr
Ok, 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 #883341Piotr
And 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 Developer
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 #884419Piotr
Partly, 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 DeveloperApril 30, 2019 at 9:31 am #884597Piotr
I checked again and I think these settings are similar. I made screens of both sites (page 1 concerns the “faulty” website):
should you need a view of other settings let me know.April 30, 2019 at 11:20 am #884703TomLead DeveloperLead Developer
What 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 #887459Piotr
I checked that, the same results.May 3, 2019 at 8:24 am #888052TomLead DeveloperLead Developer
I’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 #890229Piotr
Great, thank you!
- You must be logged in to reply to this topic.