tom coady
Forum Replies Created
-
@erania-pinnera thanks you so much for so accurately pinpointing the underlying issue! Putting CF into dev mode resolved it instantly!
Apologies for the delayed feedback – I was watching but missed your first message.
- Form submitted
- Using chrome incognito to verify ownership: An error occurred: The necessary verification token could not be found on your site. This may be related to your site using a page caching plugin. Please flush your home page cache and then try again.
Forum: Plugins
In reply to: [Google for WooCommerce] Activation slows réponse timesThank you for your message and your interest in the issue I was facing. I’m happy to provide more details on how I identified the root cause.
I noticed that the issue seemed to originate from a specific plugin that had been recently updated. To confirm this, I set up a test environment and replicated the scenario with and without the plugin update. This isolated the plugin as the source of the problem.
Fortunately the root cause is more difficult to reproduce as it’s about the way WHM distributes the load between cPanel which recommends a maximum of one per domain.
Thank you for your support and your kind wishes. I hope you have a great day too!
Best regards,
Tom
Forum: Plugins
In reply to: [Google for WooCommerce] Activation slows réponse timesThanks for your reply Zubair. Fortunately I suspect that the root cause for this reduced performance is on my Krystal server so you can close this request for now and I will reopen in case I find the issue resurfaces independently of restricted resources.
Forum: Plugins
In reply to: [Google for WooCommerce] Activation slows réponse timesThank you for sharing this information. Let’s address each point:
1. WooCommerce Performance:It’s good that you’ve tried disabling the plugin to test performance. The errors you’re seeing related to WhichBrowser\Analyser\Header\Useragent are deprecation notices, which don’t directly affect performance but indicate that the code is using outdated PHP practices. These should be addressed by the plugin developers in future updates.
To further investigate WooCommerce performance:
? Use a profiling tool like Query Monitor or New Relic to identify specific slow queries or processes.
? Check if you have unnecessary WooCommerce extensions active.
? Ensure your hosting environment is optimized for WooCommerce (proper caching, PHP version, etc.).
2. Customize-tawk-to Widget Plugin Issue:I’m glad you found and fixed that critical issue. Your solution of using memcached with an expiry time is an excellent approach. It’s unfortunate that the plugin developer hasn’t addressed this problem. Here are some suggestions:
? Consider forking the plugin and maintaining your own version with the fix.
? Share your fix on the plugin’s support forum or GitHub repository (if available) to help other users.
? Look for alternative plugins that offer similar functionality but with better maintenance.
For future reference, always be cautious with plugins that store data for each visitor, as they can quickly bloat the database.Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Cannot add new templateSolution found / problem solved from buggy plugin:
wp plugin deactivate ultimate-markdown
Referenced also at https://wphive.com/plugins/ultimate-markdown/
OK I finally resolved by editing the global restriction options page:
Restriction Method – None
I’m a bit disappointed it took me so long!
Hello,
I’m following up on my previous support request. Despite your assistance, I’m still experiencing issues:
Cache/Data Problem:
- Ticked “Remove Data on Uninstall”
- Uninstalled and reinstalled the plugin
- Page restrictions still not updating
- Cache cleared, but problem persists
Code Implementation Issue:
- Implemented provided code
- Result: Unusual text above page header
- Had to restore database to previous state
- Code appears commented out and inactive
- Code includes functions for:
- Managing user roles
- Removing specific capabilities
- Updating roles
- Removing um_instructor role from users
User Management:
- Only one key master user (my account)
- Unable to delete this account
- Limits ability to troubleshoot user issues
Current Status:
- Site requires login for all page views
- Effectively locked to outside world
Questions:
- How can I resolve the caching issue affecting page restrictions?
- What’s causing the code to appear inactive, and how can I properly implement it?
- Is there a way to safely manage user roles without compromising security?
- Can you suggest a method to allow partial site access while maintaining security?
I appreciate your continued support in resolving these issues.
- This reply was modified 7 months, 3 weeks ago by tom coady.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Cannot add new templateI have convert the classic template to block style but when adding it as a custom template I get this error message:
Error notice
The “submit-text” plugin has encountered an error and cannot be rendered.
Error notice
The “daextulma-load-document” plugin has encountered an error and cannot be rendered.
See link page above for updated code.
Directory structure:
templates]$ ls
404.html page-no-title.html single-with-sidebar.html
archive.html page-wide.html single.html
bookshelf-page.php page-with-sidebar.html template-parts
home.html page.html
index.html search.html
templates]$ ls template-parts/
bookshelf-page.php index.hml style.cssForum: Themes and Templates
In reply to: [Twenty Twenty-Four] Cannot add new templateThank you for the clarification regarding the use of PHP templates with block themes. I appreciate the links and the recommendation to opt for building a custom block template instead.
I will explore the guide on creating a custom block template to better understand how to implement this effectively.
@jordesign thank you too for the excellent explanation – I thought it was the opposite for some reason! I’ll try creating a custom block template instead!
I am writing to follow up on a previous support request regarding two persistent issues I’m facing.
1. Cache and Data Problem:
Even after selecting the option to delete cache and data upon removal, the page restrictions did not update as expected. This continues to be a significant issue affecting my site’s performance.
2. Issue with New Code:
After implementing the provided code, unusual text appeared above the page header. This problem necessitated a database restoration to a previous state. Additionally, the code appears to be commented out and inactive, despite including functions to manage user roles by removing specific capabilities. It also attempts to update roles and remove the um_instructor role from users.
User Issue:
Upon reviewing users, I discovered only one key master user (my own account), which I cannot delete.
Thank you for the suggestions and for your efforts in trying to troubleshoot the issue. I’ve decided not to continue with the troubleshooting for now, as it seems to be a glitch specific to my setup. I appreciate your time and assistance, and I apologise for any inconvenience caused.
Sorry about that, I guess I missed the previous notice. I have set the site to developer mode which seems to have improved the speed slightly as well as fetching for for a specific month, but albums is still failing to load.
I found the code by @jrobie23 here:
Sorry my. first description was unclear.
- Problem with Cache and Data:
- Even after choosing the option to delete cache and data on removal, the page restrictions did not change.
- Issue with New Code:
- After adding the provided code, strange text appeared above the page header. This issue forced me to restore the database to a previous state to fix it.
- Code Explanation:
- The provided code seems to be commented out, meaning it’s not active. It includes functions to manage user roles in WordPress by removing specific capabilities from certain roles.
- This code also attempts to update roles and remove a specific role called
um_instructor
from users.
- User Issue:
- When checking users, I found only one key master user, which I couldn’t delete because it’s my own account.
- The issues I faced might be due to the commented-out code.
Feel free to ask for more details or clarification!
- This reply was modified 9 months ago by tom coady. Reason: tried to introduce spaces before bullets to fix the number sequences