My account Endpoints are not working
-
I am tired with an issue appearing on my wordpress website where account endpoints are not working, when I click on my account detail tab it refreshes the same page. I have tried all possible ways but unable to find a proper solution.
-
Yet not received any reply, is there any support team of wordpress ?
Hi @alianjum
I am tired with an issue appearing on my wordpress website where account endpoints are not working, when I click on my account detail tab it refreshes the same page. I have tried all possible ways but unable to find a proper solution.
From what I understand, you’re having an issue with the account endpoints on your WordPress website. Specifically, when you click on your account detail tab, it just refreshes the same page. Let’s work together to resolve this issue.
Here are a few things you can try to fix the problem:
- Update Your Plugins and Themes: Make sure all your plugins, themes, and WordPress are up to date. This often resolves compatibility issues.
- Check WooCommerce Endpoints Settings: Go to WooCommerce > Settings > Advanced > Page setup on your WordPress dashboard. Make sure the ‘My Account’ endpoint is set correctly. By default, the endpoint is ‘My account’ and it should link to a page that exists and is accessible.
- Reset Permalinks: Go to Settings > Permalinks on your WordPress dashboard, and click ‘Save Changes‘ without changing anything. This refreshes your permalink structure and may fix the problem.
- Disable Plugins: There might be a conflict between different plugins on your website. Try disabling all plugins except WooCommerce and see if the issue persists. If it’s resolved, re-enable the plugins one by one to find out which one is causing the problem.
- Switch to a Default Theme: To eliminate any theme-related issues, switch to a default WordPress theme like Storefrontand check if the endpoints are working. Here’s a helpful guide on how to test for conflicts: ?? How to Test for Plugin and Theme Conflicts.
- Check for JavaScript Errors: JavaScript errors can disrupt functionality. Use your browser’s console to check for these errors. ?? Here’s a useful guide on Using Your Browser to Diagnose JavaScript Errors.
- Enable Debugging: If the problem persists, turn on debugging in WordPress. This can help identify the issue. You can enable debugging by adding these lines to your wp-config.php file:
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
This will create a debug.log file in your wp-content directory, logging any PHP errors or notices. For a more detailed guide on enabling debugging in WordPress, you can visit this link: ?? Debugging in WordPress
If the issue continues after trying these steps, please share more details, like the exact error messages you see when debug mode is on. This will help us identify and solve the problem more effectively.
Also, we’d find it helpful if you could share your site’s System Status report. This will give us a better understanding of your site’s setup and help us pinpoint the problem. You can find it via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
.Lastly, could you share the fatal error logs (if any) under
WooCommerce > Status > Logs
.Once you’ve gathered this information, please paste it inside a Code block in your reply, or use https://pastebin.com to paste it and share the link with us.
Thanks for your patience and cooperation in this matter! We’re here to help you get this sorted.
Hello I have done all point you mentioned above except the javaScript error because I am not good in javascript. I am unable to find the reason of error. I have add debug code in config file not found any file name debug.log file in wp-content folder.
There are some fatal error showing in wocommerce status log, which are given below.
2023-10-18T17:12:58+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 458752 bytes) in /var/www/domains/carlimrowatches.com/www/wp-includes/class-wp-scripts.php on line 437
2023-10-12T14:59:30+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 180224 bytes) in /var/www/domains/carlimrowatches.com/www/wp-includes/class-wp-scripts.php on line 515 2023-10-12T14:59:39+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 180224 bytes) in /var/www/domains/carlimrowatches.com/www/wp-includes/class-wp-scripts.php on line 515 2023-10-12T14:59:51+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 180224 bytes) in /var/www/domains/carlimrowatches.com/www/wp-includes/class-wp-scripts.php on line 515 2023-10-12T16:06:36+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 180224 bytes) in /var/www/domains/carlimrowatches.com/www/wp-includes/class-wp-scripts.php on line 515
Website link is https://carlimrowatches.com/
To check the error, you can register there and see the errors on my account page
Hi @alianjum
Thank you for your patience and for providing the fatal error logs. From the logs, it seems like your website is hitting the memory limit, which is causing the issue with the account endpoints.
Here are a few steps you can try to resolve this issue:
- Increase PHP Memory Limit: You can increase the PHP memory limit by editing your
wp-config.php
file. Find the line that says/* That's all, stop editing! Happy blogging. */
and just before it, add the following line:define('WP_MEMORY_LIMIT', '256M');
. This will increase the PHP memory limit to 256 MB. Here’s a guide: ?? Increasing the WordPress Memory Limit. - Contact Your Hosting Provider: If you’re uncomfortable making these changes or if you don’t have access to your
wp-config.php
file, you can contact your hosting provider and ask them to increase the PHP memory limit for you. - Optimize Your Website: If increasing the PHP memory limit doesn’t solve the issue, you might need to optimize your website. This could involve removing unnecessary plugins, optimizing images, and implementing caching.
If none of these steps work, could you please share your site’s System Status with us? It will give us a better understanding of your site’s setup and help us identify the problem. You can find it via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
.Once you’ve gathered this information, please paste it inside a Code block in your reply, or use https://pastebin.com to paste it and share the link with us.
Thanks for your patience and cooperation in this matter! We’re here to help you get this sorted.
- The topic ‘My account Endpoints are not working’ is closed to new replies.