This topic has 28 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #172133
     jamesbuddyrogers
    Participant

    I am randomly getting 404 errors on the membership pages from time to time. the site is working but users see 404 and then all of a sudden it works. I have updated the permalinks by saving to update the .htaccess but that did not work.

    Any ideas on how to stop the 404 from randomly showing up on pages that do in fact exist?  Sometimes the pages work, sometimes they don’t. When they don’t the entire site is still working in terms of forum, groups etc.

    #172185
     Laura
    Moderator

    Hello, try deactivating some plugins and testing again, some security and cache plugin could create this issue
    Also try contacting your hosting provider as it could be a server issue

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #172243
     jamesbuddyrogers
    Participant

    ok I will try. However the issue is intermittent. Since it randomly happens it is hard to turn on and off plugins. Is there any way to test a plugin that may be a conflict? It only happens on pages, the forums, profiles chats etc all continue to function. I mainly notice this from members signing up and then trying to upgrade so thinking maybe it is the membership plugin?

    #172274
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #172276
     jamesbuddyrogers
    Participant

    ok thanks. I just cant figure it out. Been disabling plugins and still randomly happening.

    #172334
     Radu
    Moderator

    Hi,

    If you know exact steps to reproduce this issue tell me, if no it’s hard to debug if there are no steps to follow to reproduce and happening randomly…

    Technically this can happens if the pmpro files missing I don’t think so but you can re-upload pmpro plugin files…

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #172337
     jamesbuddyrogers
    Participant

    If a new user signs up to the site (not with FB signup method) put in your email and sign up, then activate your account with the email. You will get 404 errors trying to upgrade the account. the site will work.

    I did this on a friends mobile, then on my mobile simple went to the backend plugin install where it shows what is installed and then my friends mobile no longer 404. If I don’t do that on my phone his phone will 404 .. if he waits long enough it will work but it seems that these steps do recreate the problem.

    Just try to register an account, then try to upgrade to the VIP gold account with code ‘VIPmingler’ you will see the 404.

    I was reading that maybe it is the PMPro plug redirect loop between http and https? I don’t do HTTPS as payments are just with paypal so would be nice if it all just remained http and NOT any https at this time.

    #172351
     jamesbuddyrogers
    Participant

    If you don’t see this error as per the above method to recreate I may have fixed it. I just did a test and it didn’t 404. I will test a few more times and cross my fingers the issue is resolved.

    #172352
     jamesbuddyrogers
    Participant

    still doesnt work. Was worth a shot

    #172609
     Radu
    Moderator

    Hi,

    I was able to create an account and to activate it without any problem.

    But then I’ve tried to take a look at the pmpro levels page : http://imingle.ca/membership-account/membership-levels/ and it returns a 404 error as a guest and as the user logged in.

    Did you have tried to update all plugins and to de-activate child theme to test if like this it works ? this kind of issue can be caused by some PHP snippets added to the child theme.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #172610
     Radu
    Moderator

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #172622
     jamesbuddyrogers
    Participant

    I activated the sweetdate theme and NOT the child theme and it appears the 404 went away.

    #172624
     jamesbuddyrogers
    Participant

    disregard the last message, it is still doing it with the non child theme activated. But it did work instantly after switching themes. This is very random and frustrating. I have looked at all the plugins. is there no way to test something to see where the issue is coming from?

    #172635
     Radu
    Moderator

    That’s odd, try to re-upload theme files over the existing one and check again, if this persists provide to me FTP details and wp admin credentials in a private reply to take a closer look.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #172688
     jamesbuddyrogers
    Participant
    This reply has been set as private.
    #172753
     Radu
    Moderator

    Hi,

    After login to wp-admin, I’ve noticed that the plugin it’s inactive, I’ve activated it and then the levels page was empty no membership displayed, I’ve noticed the memberships are hidden by default.

    Anyway, this is not the cause for the 404, I’ve seen also a notice from pmpro that says to upgrade PHP version to 5.6 , so this can be a cause, so ask the hosting about that.

    http://imingle.ca/membership-account/membership-levels/

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #172911
     jamesbuddyrogers
    Participant

    I updated the PHP to 5.6 and still getting the 404.

    #172976
     Radu
    Moderator

    Hi,

    In this case, just duplicate your install to a staging hosting and test there if using default wp theme you encounter the same issue 404 on pmpro pages sometimes.

    Test it on the staging 1-2 days with kleo them de-activated to see if you encounter the same.

    Cheers
    Let me know
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #172977
     Radu
    Moderator

    Make sure to enable wp_debug and leave it like that.

    I will add below the debug procedure after a pmpro 404 error check the debug.log if appears something related to that, also it’s recommended to check also the error.log from the hosting server, maybe it will give some hints in this direction

    Please update to the latest version the afferent plugins, you can check the plugin update status from wp-admin -> appearance -> install plugins.

    If this is useless please follow these steps to enable wp debug:

    •  Connect to your server by FTP
    • Look in root directory of your WordPress install and open wp-config.php
    • Search for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
    COPY CODE
    define( 'WP_DEBUG', true );
    
    •   After this line add this:
    COPY CODE
    define( 'WP_DEBUG_LOG', true );
    

    WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen (e.g. during an AJAX request or wp-cron run).

    Repeat the described actions and then check the debug.log file and let me know what error appears.

    If this is useless please try to deactivate additional plugins except Visual Composer, K-elements, BuddyPress, Paid memberships pro and revolution slider.

    After you have disabled the plugins try to see if the error persists.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #172981
     jamesbuddyrogers
    Participant

    The theme and plugins were already uptodate.

    I enabled debug and then got the 404 error again but there is no debug.log file that I see. Do I need to create this file?

    #172983
     jamesbuddyrogers
    Participant
    This reply has been set as private.
    #172987
     jamesbuddyrogers
    Participant

    Also .. when I switch to Twenty Fifteen theme the 404 appears to not happen. When I activate the Sweetdate child theme it 404’s.

    #172991
     jamesbuddyrogers
    Participant
    This reply has been set as private.
    #173261
     Radu
    Moderator

    Hi,

    Those are not errors and seems to have nothing to do with your problem, in this case, we have to check the direct server error.log file

    See here how you can check for server errors: http://www.inmotionhosting.com/support/website/stats-logging/how-to-view-cpanel-error-logs

    So find the error.log file then access the pmpro URL that generates the 404 error.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #173283
     jamesbuddyrogers
    Participant

    I disabled Memberships Pro and the 404 appears to have gone away, so I will not be using that plugin and looking for an alternative.

    #173408
     Radu
    Moderator

    Hi,

    Ok then, meanwhile you can put that question to the pmprpo support forum
    https://wordpress.org/plugins/paid-memberships-pro/

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #173464
     jamesbuddyrogers
    Participant

    But they will tell me it is a theme issue since the plugin does not create the 404 error with other themes.

    #173549
     Radu
    Moderator

    I see but I cannot reproduce that issue on my local install and also I can not any other customers reporting this issue, it seems to be an isolated case.

    If you want to continue with the investigation follow my advice from this reply : https://archived.seventhqueen.com/forums/topic/404-on-pages-that-exist/#post-173261

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #173551
     Radu
    Moderator

    I see but I cannot reproduce that issue on my local install and also I can not any other customers reporting this issue, it seems to be an isolated case.

    If you want to continue with the investigation follow my advice from this reply : https://archived.seventhqueen.com/forums/topic/404-on-pages-that-exist/#post-173261

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 29 posts - 1 through 29 (of 29 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?