dlmsontag
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Crons stop running when LiteSpeed enabledThank you! I looked at that page before but missed that part. Have implemented those changes and it seems to be working. Will keep an eye on it for a few days.
Thanks for getting back to me. I tried a rescan but it still came back as a vulnerability – this time it was ‘critical’. WordFence recommended plugin removal, which I did. I don’t need it at the moment anyway, so I’ll worry about it more when I need files access (or just access direct through server). Maybe it won’t be an issue by then. Have a great day everyone!
Forum: Fixing WordPress
In reply to: Unable to create new userOnly errors written to debug.log are:
[06-Jan-2025 23:55:50 UTC] WordPress database error Duplicate entry ‘0’ for key ‘db_users.PRIMARY’ for query INSERT INTO
db_users(user_pass,user_nicename,user_email,user_url,user_registered,user_activation_key,display_name,user_login) VALUES (‘x’, ‘x’, ‘x’, ”, ‘x’, ”, ‘x’, ‘x’) made by edit_user, wp_insert_user
[06-Jan-2025 23:55:50 UTC] PHP Warning: Attempt to read property “user_login” on false in …/wp-includes/pluggable.php on line 2193
[06-Jan-2025 23:55:50 UTC] PHP Warning: Attempt to read property “user_email” on false in …/wp-includes/pluggable.php on line 2195It seems to always want to use ‘0’ for the ID of the user. How can I fix this?
UPDATE / RESOLVED :: I found that auto-increment on the primary ID key field was unset for some reason. I’ve re-enabled it but now am still unable to edit user info. It appears that nothing is being written to the db_usermeta table. Checked the db_usermeta table and found that auto-increment was missing from the primary ID key field of umeta_id. Once enabled there, all users functions started working again as expected.
- This reply was modified 1 year, 5 months ago by dlmsontag.
Forum: Fixing WordPress
In reply to: Unable to create new userI have backups. No error or warning messages at all – just success but then it doesn’t do what it says it did. I will enable debugging and check if there is anything there.
Thanks @jluizsouzadev!
Forum: Developing with WordPress
In reply to: Display page title in footer text of pageOh okay … yes. I will try writing a shortcode. Thanks for pointing me in the right direction!
Forum: Developing with WordPress
In reply to: Display page title in footer text of pageSorry, I was not aware there were different ways or codes to grab the page title – thought it was standard WordPress code variable for title.
Using Memberlite theme, no page builder in use other than theme.
Tried adding title code in many different places throughout the page – regular paragraph, footer, bottom banner, etc.
After I posted the first time, I went to see if there was an update for that plug-in. It was listed 2x, once as deactivated and once as activated. Removed it and went to install again but could not find the “wc” version. Installed the Agile CRM plug-in and everything started to work without errors. Sorry to bother you guys.
RESOLUTION – in case anyone else encounters this with another theme.
We are using the Memberlite theme from Stranger Studios (https://www.strangerstudios.com/). They provided this solution to resolve the issue. It has been applied and can be seen in action at the original sample page (https://uni4rights.ca/wp-data-tables/).
Here is some custom CSS you can put into your site if you are using a child theme (in the style.css file) OR within the customizer under Appearance > Customize > Additional CSS:
Solution provided by Kim Coleman at Stranger Studios.wpDataTablesWrapper table > thead > tr > th, .wpDataTablesWrapper table > tbody > tr > td { float: none !important; }Thank you to everyone who helped with this – especially Kim! 🙂
Thank you! I tried that and the problem is somewhere in the current theme we have. I have reached out to the theme support on this issue and will report back if there is a solution better than what I used on my production table. I added another “last” column and added css to display none with a width of 0 which appears to be working for now. Hopefully there is a better solution to this and if there is one, I’ll post back.