Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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, Jay

    #1194998

    Hey 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,
    Rikard

    #1195063

    Hi 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

    #1198995

    Hi,

    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,
    Ismael

    #1199318

    Hi

    No problem, please find a new PW link in the private section.

    BR, Jay

    #1200018

    Hi,

    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,
    Ismael

    #1200101

    Hi 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

    #1200420

    Good 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

    #1201122

    Hi,

    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,
    Ismael

    #1202015

    Hi 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

    #1203426

    Hi,

    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,
    Ismael

    #1203549

    Hi Ismael

    Thanks for the fix. Do I need to implement this in all our Enfold instances?

    BR, Jay

    #1204438

    Hi,

    Do you have this issue on another site? If you do, try to implement the changes above and let know if it helps.

    Thank you for your patience.

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.