-
Author
-
August 30, 2017 at 18:42 #172133jamesbuddyrogersParticipant
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.
August 31, 2017 at 11:11 #172185LauraModeratorHello, 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 issueHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
August 31, 2017 at 18:35 #172243jamesbuddyrogersParticipantok 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?
September 1, 2017 at 01:41 #172274LauraModeratorHello, 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 solutionLaura 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 🙂
September 1, 2017 at 01:43 #172276jamesbuddyrogersParticipantok thanks. I just cant figure it out. Been disabling plugins and still randomly happening.
September 1, 2017 at 16:05 #172334RaduModeratorHi,
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 solutionSeptember 1, 2017 at 16:52 #172337jamesbuddyrogersParticipantIf 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.
September 1, 2017 at 20:42 #172351jamesbuddyrogersParticipantIf 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.
September 4, 2017 at 16:08 #172609RaduModeratorHi,
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 solutionSeptember 4, 2017 at 16:09 #172610RaduModeratorHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 4, 2017 at 18:16 #172622jamesbuddyrogersParticipantI activated the sweetdate theme and NOT the child theme and it appears the 404 went away.
September 4, 2017 at 18:23 #172624jamesbuddyrogersParticipantdisregard 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?
September 4, 2017 at 19:11 #172635RaduModeratorThat’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 solutionSeptember 6, 2017 at 15:29 #172753RaduModeratorHi,
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 solutionSeptember 7, 2017 at 21:00 #172911jamesbuddyrogersParticipantI updated the PHP to 5.6 and still getting the 404.
September 8, 2017 at 17:15 #172976RaduModeratorHi,
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 solutionSeptember 8, 2017 at 17:23 #172977RaduModeratorMake 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 CODEdefine( 'WP_DEBUG', true );
- After this line add this:
COPY CODEdefine( '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 solutionSeptember 8, 2017 at 18:03 #172981jamesbuddyrogersParticipantThe 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?
September 8, 2017 at 19:21 #172987jamesbuddyrogersParticipantAlso .. when I switch to Twenty Fifteen theme the 404 appears to not happen. When I activate the Sweetdate child theme it 404’s.
September 11, 2017 at 17:15 #173261RaduModeratorHi,
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 solutionSeptember 11, 2017 at 18:34 #173283jamesbuddyrogersParticipantI disabled Memberships Pro and the 404 appears to have gone away, so I will not be using that plugin and looking for an alternative.
September 12, 2017 at 15:41 #173408RaduModeratorHi,
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 solutionSeptember 12, 2017 at 20:59 #173464jamesbuddyrogersParticipantBut they will tell me it is a theme issue since the plugin does not create the 404 error with other themes.
September 13, 2017 at 15:33 #173549RaduModeratorI 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 solutionSeptember 13, 2017 at 15:42 #173551RaduModeratorI 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 -
AuthorPosts
You must be logged in to reply to this topic.