-
AuthorPosts
-
March 20, 2020 at 3:29 pm #1194804
G’Day
I experience a strange behavior. My enfold-maintenance page is displayed instead of footer&socket and only for logged out users.
Although, the maintenance page is currently off.
As a temporary workaround I have therefore selected the footer as the current (deactivated) maintenance page.Please advise, I will put the details in the private content area.
Best regards, JayMarch 21, 2020 at 4:55 am #1194998Hey brandreach_at,
Thanks for the login details. I can’t reproduce this problem though, I see the same footer regardless or being logged in or not. How can we reproduce the problem you are having?
Best regards,
RikardMarch 21, 2020 at 2:07 pm #1195063Hi Rikard
Thanks for checking. I had to apply this temporary workaround cause it is a live site.
To make it visible again please do this
1. in Enfold options: change the maintenance page back to the page “Wartungsmodus”. Turn it on and save & turn it off and save.
sidenote: we have configured in Enfold > Footer the page “Footer & Socket” to be displayed in the footer
2. after step one it now shows the page “Wartungsmodus” instead of “Footer & Socket” as the footer
When I was testing, it always showed as the footer whatever page is set in the Enfold-maintenance page section, independent from if maintenance is turned on or not.BR, Jay
March 30, 2020 at 4:40 am #1198995Hi,
Sorry for the delay. Can you post the password again? Someone already opened the secret password above, so it’s no longer valid.
Have you tried deselecting the maintenance page before turning it off completely?
Best regards,
IsmaelMarch 31, 2020 at 1:41 pm #1199318Hi
No problem, please find a new PW link in the private section.
BR, Jay
April 2, 2020 at 8:40 am #1200018Hi,
Thank you for the info.
Is it working when you deselect the page first before turning off the maintenance mode page? Why are you using the Footer & Socket as maintenance mode page? You should create a separate page for each option.
Best regards,
IsmaelApril 2, 2020 at 11:19 am #1200101Hi ismael
I answered this already, but I will once more summarize for you.
We launched this site several weeks ago. All good. The footer & socket page was assigned as the footer section and the maintenance page was assigned as the theme-maintenance page and deactivated.
The week i opened the ticket I got as a feedback from the site peeps that they see the maintenance page at the bottom of the pages now, instead of the footer. As I said, I have no idea, why the maintenance page is displayed as the footer section. I didnt set it that way, it was not reflected in the theme backend settings and I have not changed anything.
At the time this behavior popped up, the theme-maintenance page was still set correctly (assigend to the maintenenace page), but deactivated, and the footer page was still assigned as the footer section, but this setting was apparently ignored. I could set any page as the new footer section, it would ignore this setting, and display the (deactivated) maintenance page instead.
There was only one way to fix this temporarily. I had to assign the footer page as the theme-maintenance page but leave it deactivated.
This is still the situation and this is what you can see now. This is also the reason why i ve opened this ticket, cause I would like the theme to display in the footer what I ve configured and I would like to get my maintenance setting back so I could use it as designed.BR, Jay
April 3, 2020 at 9:08 am #1200420Good morning
Just for the stats. Deselecting any site in the the maintenance page dropdown will display the 404 page in the footer but not the configured page. I had to put my workaround in place because as mentioned above, this is a live site and complains come in on the same day.
If you want a copy of this website please tell me you gonna have full flexibility there.BR, Jay
April 6, 2020 at 4:59 am #1201122Hi,
Sorry for the late response. Yes, please clone the site somewhere else so that we can check it properly. We can now reproduce the issue on our end, but we are not yet sure what’s causing it. Please let us know once the development site is ready. We’ll also tag one of our developers.
Best regards,
IsmaelApril 8, 2020 at 9:20 pm #1202015Hi Ismael
Thanks for having a closer look. I ve posted the new location in the private area. Your credentials work there as well.
Br, Jay
April 14, 2020 at 4:12 am #1203426Hi,
Sorry for the late response. We found the problem in the class-avia-custom-pages.php file (see private file) > query_page function. For unknown reason, the get_posts function queries the 404 page instead of the footer page. To fix the issue, we replaced the get_posts with the get_post function.
protected function query_page( $page_id = null, $context = '' ) { if( empty( $page_id ) || ! is_numeric( $page_id ) ) { return false; } $post = get_post( $page_id ); /** * Filter result * * @used_by currently unused * @since 4.5.4 * @return WP_Post|false */ return apply_filters( 'avf_custom_pages_query_page', $post, $page_id, $context ); }
Best regards,
IsmaelApril 14, 2020 at 12:49 pm #1203549Hi Ismael
Thanks for the fix. Do I need to implement this in all our Enfold instances?
BR, Jay
April 16, 2020 at 2:29 pm #1204438 -
AuthorPosts
- You must be logged in to reply to this topic.