RT_PDX
Forum Replies Created
-
Forum: Plugins
In reply to: [Log in with Google] Feature requestsPlease ignore my first suggestion. I cant edit my original post anymore. I realize that the last login date on the WP users admin page is generated by the Wordfence plugin. I have since tackled this feature request by hooking into one of your actions.
Forum: Plugins
In reply to: [Open User Map] Non unique anchor jump when closing locationHi Daniel,
Thanks for looking into it.
When i disable that Salient setting there is no more scroll indeed. Hence my point of conflicting with certain themes/plugins. What strikes me though is that with the Salient animation enabled the problem only exists when clicking the X. Any other means of closing the bubble such as clicking outside the bubble or pressing ESC when in the bubble does not create the scroll issue.
Best, Ronald
Forum: Plugins
In reply to: [Open User Map] Non unique anchor jump when closing locationSure, check this out: https://art27.art
Thanks Daniel
Forum: Plugins
In reply to: [The Events Calendar] Action Scheduler orphaned jobsHi Abz,
As i stated in my original post the migration went fine. I have no drafts or deleted items.
The action keeps failing and creates a new pending one like here:
action_scheduler/migration_hook Run | Cancel Pending action-scheduler-migration Non-repeating 2022-12-02 17:27:37 +0000 (59 seconds) 2022-12-02 17:26:37 +0000 action created
Thanks
- This reply was modified 1 year, 10 months ago by RT_PDX.
Forum: Plugins
In reply to: [Log in with Google] Feature request – Skip Login pageI would like to add one additional aspect to my request to be able to skip the login dialog box and go straight to the account chooser as in some scenarios the inability to do this creates a strange user experience:
When a user is already logged into google (with his/her web gmail for example) and then goes to the /wp-login.php page it shows the logout button but there is no way to actually login. They would first have to logout and then login again. This is very unlogical and causes some users to start typing things into the user / password fields.
Forum: Plugins
In reply to: [The Events Calendar] Action Scheduler orphaned jobsThey were showing failed and then there was always one showing as pending.
Hi Jesse,
I have been able to replicate the permission situation on Digital Ocean. When i move the backup directory to a different location (using the Upkeep interface) this is what gets created on the new location:
drwx—— 3 thephpuser www-data 4096 Nov 29 16:33 boldgrid_backup_UNIQUECODE
Upkeep overrides the default Digital Ocean permission set for www-data (drwxrwxr-x). I can imagine the idea behind it is extra security but I think it should be optional or at least be something one can turn off for specific hosting situations. Digital Ocean provides plenty of secure location where you can store files outside the content folders that are accessible by PHP.
Thought this might help.
Best, Ronald
Hi Jesse,
This one is a Digital Ocean server. It is the same application user for all backups done on the same site (cloudways ‘app’ in their lingo). You are right that typically there is a user (that runs PHP, nGINX etc) and the www-data group on the directories.
What I noticed though is that with Total Upkeep the user is still there but the www-data group is set to zero rights. So, as ‘master user’ you don’t see the backup directory (boldgrid_backup…..).
Hope this helps the team.
Two handy links:
https://support.cloudways.com/en/articles/5126387-how-can-i-reset-file-and-folder-permissions
Best, Ronald
Hi Jesse!
Thanks again! Okay, so i ran a sanity backup just to be sure. It took 3 seconds. I run much larger scripts on cloudways and as far as I know they don’t actively restrict. I have my own (bash) backup routine for all my sites (pretty much dump db add all files) but wanted to have a tool for end users so they can do one offs. Based on your feedback on the logs I took another route: Permissions! And sure enough, the backups are there. But surprisingly all permissions are reduced to only the php process owner and not may the usual groups. So it was all invisible to me.Same for FTP. A reset off the wordpress wp-content tree did the trick. I still get some chmod errors occasionally but I a manual backup works and the FTP upload as well. I am not sure if you guys are actively using chmods in your code (havent looked) but that may be a candidate for (optional) advanced setting? Thanks for all your help!
Best, Ronald
Hi Jesse !
Thanks, i had checked that but interestingly the backup directory for storage WebServer says: /home/xxxxxx.cloudwaysapps.com/xxxxxxxx/public_html/wp-content/boldgrid_backup_I_REDACTED_THE_SECRET_NUMBER
But I still get the touch() error for : /home/xxxxx.cloudwaysapps.com/xxxxxxxx/1775784020.txt
The good news … we have some log files. I also received an email. But there is no physical backup file anywhere. Interestingly it says it has uploaded it to FTP successfully but there is no file there either (makes sense as the one on disk was never created it seems). I noticed a few other things (like dashboard says i need to create a schedule even though i have one) but lets focus on the main issue first.I redacted less useful pieces from the log file:
[2022-11-21 16:43:18 UTC] Last error: Array
(
[type] => 8192
[message] => Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[file] => /home/xxxxxx.cloudwaysapps.com/xxxxxxxxx/public_html/wp-content/plugins/wp-mail-log/freemius/includes/managers/class-fs-key-value-storage.php
[line] => 389
)[2022-11-21 16:43:18 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist.
[2022-11-21 16:43:18 UTC] Last error: Array
(
[type] => 2
[message] => file_get_contents(/home/xxxxxx.cloudwaysapps.com/xxxxxxxx/public_html/wp-content/boldgrid_backup_fOAEUy9aQEGs/logs-ba966913-9a3a12dc58677faf/archive-1669048998.log): Failed to open stream: No such file or directory
[file] => /home/xxxxxxx.cloudwaysapps.com/xxxxxxxx/public_html/wp-admin/includes/class-wp-filesystem-direct.php
[line] => 39
)[2022-11-21 16:43:18 UTC] Backup process initialized.
[2022-11-21 16:43:18 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist.
[2022-11-21 16:43:18 UTC] Backup process initialized.
[2022-11-21 16:43:18 UTC] Process id: 30147
[2022-11-21 16:43:18 UTC] ——————————————————————————–
[2022-11-21 16:43:18 UTC] Starting dump of database…
[2022-11-21 16:43:18 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 62652352 (59.75 MB) / 63492584 (61 MB)
[2022-11-21 16:43:18 UTC] Database info: Array
(
[wp_actionscheduler_actions] => 88
AND MANY MORE TABLES …
)[2022-11-21 16:43:19 UTC] Dump of database complete! $status = 1
[2022-11-21 16:43:19 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 62669312 (59.77 MB) / 64800024 (62 MB)
[2022-11-21 16:43:19 UTC] ——————————————————————————–
[2022-11-21 16:43:20 UTC] Database dump file added to file list: /home/xxxxxx.cloudwaysapps.com/xxxxxxxx/public_html/wp-content/boldgrid_backup_fOAEUy9aQEGs/cqtxpacctq.20221121-164318.sql / 10024361 (9.56 MB)
[2022-11-21 16:43:20 UTC] Starting archiving of files. Chosen compressor: system_zip
[2022-11-21 16:43:20 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 69724288 (66.49 MB) / 70549192 (67 MB)
[2022-11-21 16:43:20 UTC] Starting to create list of files to include in zip.
[2022-11-21 16:43:20 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 69723784 (66.49 MB) / 70709976 (67 MB)
[2022-11-21 16:43:20 UTC] Finished creating list of files to include in zip. 10179 files in zip.
[2022-11-21 16:43:20 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 71300440 (68.00 MB) / 72286880 (69 MB)
[2022-11-21 16:43:20 UTC] Starting to close the zip file.
[2022-11-21 16:43:20 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 69723944 (66.49 MB) / 72286880 (69 MB)
[2022-11-21 16:43:21 UTC] Chunk closed in 1.3636770248413 seconds. 9% complete closing
[2022-11-21 16:43:21 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:23 UTC] Chunk closed in 2.4299309253693 seconds. 18% complete closing
[2022-11-21 16:43:23 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:26 UTC] Chunk closed in 2.6857440471649 seconds. 27% complete closing
[2022-11-21 16:43:26 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:29 UTC] Chunk closed in 2.8241548538208 seconds. 36% complete closing
[2022-11-21 16:43:29 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:33 UTC] Last error: Array
(
[type] => 8192
[message] => Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[file] => /home/xxxxxx.cloudwaysapps.com/xxxxxxxxx/public_html/wp-content/plugins/wp-mail-log/freemius/includes/managers/class-fs-key-value-storage.php
[line] => 389
)[2022-11-21 16:43:33 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist.
[2022-11-21 16:43:33 UTC] Backup process running: Yes (pgid = 25799)
[2022-11-21 16:43:34 UTC] Chunk closed in 4.4925451278687 seconds. 45% complete closing
[2022-11-21 16:43:34 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:36 UTC] Chunk closed in 2.1192529201508 seconds. 55% complete closing
[2022-11-21 16:43:36 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:38 UTC] Last error: Array
(
[type] => 8192
[message] => Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[file] => /home/xxxxxx.cloudwaysapps.com/xxxxxxxx/public_html/wp-content/plugins/wp-mail-log/freemius/includes/managers/class-fs-key-value-storage.php
[line] => 389
)[2022-11-21 16:43:38 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist.
[2022-11-21 16:43:38 UTC] Backup process running: Yes (pgid = 25799)
[2022-11-21 16:43:39 UTC] Chunk closed in 2.6316778659821 seconds. 64% complete closing
[2022-11-21 16:43:39 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:43 UTC] Chunk closed in 4.1216731071472 seconds. 73% complete closing
[2022-11-21 16:43:43 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:45 UTC] Chunk closed in 2.6905958652496 seconds. 82% complete closing
[2022-11-21 16:43:45 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:48 UTC] Last error: Array
(
[type] => 8192
[message] => Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[file] => /home/xxxxxx.cloudwaysapps.com/xxxxxxxxx/public_html/wp-content/plugins/wp-mail-log/freemius/includes/managers/class-fs-key-value-storage.php
[line] => 389
)[2022-11-21 16:43:48 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist.
[2022-11-21 16:43:48 UTC] Backup process running: Yes (pgid = 25799)
[2022-11-21 16:43:49 UTC] Chunk closed in 3.3322350978851 seconds. 91% complete closing
[2022-11-21 16:43:49 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:51 UTC] Chunk closed in 2.1079170703888 seconds. 100% complete closing
[2022-11-21 16:43:51 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70227272 (66.97 MB) / 72286880 (69 MB)
[2022-11-21 16:43:51 UTC] Finished closing the zip file.
[2022-11-21 16:43:51 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 69723944 (66.49 MB) / 72286880 (69 MB)
[2022-11-21 16:43:51 UTC] Starting to add db dump to the zip file.
[2022-11-21 16:43:51 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 69723944 (66.49 MB) / 72286880 (69 MB)
[2022-11-21 16:43:51 UTC] Finished adding db dump to the zip file.
[2022-11-21 16:43:51 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 69724072 (66.49 MB) / 72286880 (69 MB)
[2022-11-21 16:43:51 UTC] Archiving of files complete!
[2022-11-21 16:43:51 UTC] Archive filepath / size: /home/xxxxxx.cloudwaysapps.com/xxxxxxxxx/public_html/wp-content/boldgrid_backup_fOAEUy9aQEGs/boldgrid-backup-hannahswalk.info-ba966913-20221121-164320.zip / 169373328 (161.53 MB)
[2022-11-21 16:43:51 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 69723944 (66.49 MB) / 72286880 (69 MB)
[2022-11-21 16:43:51 UTC] Starting sending of email…
[2022-11-21 16:43:53 UTC] Last error: Array
(
[type] => 8192
[message] => Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[file] => /home/xxxxxxx.cloudwaysapps.com/xxxxxxxxx/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php
[line] => 91
)[2022-11-21 16:43:53 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist.
[2022-11-21 16:43:53 UTC] Backup process running: Yes (pgid = 25799)
[2022-11-21 16:43:54 UTC] Sending of email complete! Status: 1
[2022-11-21 16:43:57 UTC] Backup complete!
[2022-11-21 16:43:57 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 70550672 (67.28 MB) / 80590552 (77 MB)
[2022-11-21 16:43:57 UTC] Backup complete!
[2022-11-21 16:43:57 UTC] Memory usage – limit / current / peak memory usage: 1073741824 / 63501096 (60.56 MB) / 80590552 (77 MB)
[2022-11-21 16:43:58 UTC] Last error: Array
(
[type] => 8192
[message] => Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[file] => /home/xxxxxx.cloudwaysapps.com/xxxxxxxxx/public_html/wp-content/plugins/wp-mail-log/freemius/includes/managers/class-fs-key-value-storage.php
[line] => 389
)[2022-11-21 16:43:58 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist.
[2022-11-21 16:43:58 UTC] Backup process running: Yes (pgid = 25799)
[2022-11-21 16:44:10 UTC] Last error: Array
(
[type] => 8192
[message] => Return type of FS_Key_Value_Storage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
[file] => /home/xxxxxx.cloudwaysapps.com/xxxxxxxx/public_html/wp-content/plugins/wp-mail-log/freemius/includes/managers/class-fs-key-value-storage.php
[line] => 389
)[2022-11-21 16:44:10 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist.
[2022-11-21 16:44:10 UTC] Backup process running: No`- This reply was modified 1 year, 11 months ago by RT_PDX.
Forum: Plugins
In reply to: [W3 Total Cache] HTTP/2 push errorI have the same problem. I had minify enabled but it did not work for me. So I disabled it in the general settings section. I tried to reverse all settings on the minify tab to what they were by default (may not be needed) and I can save all of them except undoing the http2/push for js and css sections. When i try to dave these settings I get essentially a php timeout (60 seconds). So somehow even though minify is disabled there is still something active within the http2/push area. Reading the above thread i deleted the page_enhanced folder but it makes no difference.
Error:
Got error ‘PHP message: PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/public_html/wp-content/plugins/w3-total-cache/Generic_AdminActions_Default.php on line 586’, referer: https://mysite.com/wp-admin/admin.php?page=w3tc_minify&w3tc_message=637823db440a7
Any thoughts ?
- This reply was modified 1 year, 11 months ago by RT_PDX.
Forum: Plugins
In reply to: [bbp style pack] BBP Style Pack 5.1.0 site login crash WordPress 6.1Hi Robin!
Single user forum update looks great! Cosmetics: I did notice that the page_sections (the < page > underneath Forum and Topics) are populated and clickable to next/prev pages even when all forums / topics (on my site) a user has assigned fit easily on the on a single page. It doesn’t throw errors so not a big deal. Same shows when managing Forums / Topics so it may be something e can tackle later for all three areas.
To remove the submenu without breaking the edit capability replace line 161 with:
$confHook = add_submenu_page(null, ‘Subscriptions’, ‘Subscriptions’, ‘edit_forums’, ‘forum_subscriptions’, ‘rew_forum_subscriptions_page’);
Hope this helps !
Best, Ronald
Forum: Plugins
In reply to: [bbp style pack] BBP Style Pack 5.1.0 site login crash WordPress 6.1Hello Robin,
Thanks for the quick turn around. I installed and tested it. A few thoughts:
– The ability the add default forums to new users … GREAT! I had this as some custom code on my site already so i can remove that in the future
– I received one error after testing all features. Only details I can provide: 500 GET /wp-admin/options-general.php?page=rew-sub but i could not reproduce it. It was after i enabled subscriptions and added all forums to new user creation. Then i saved. When i went back there I got the 500. My guess is it has to do with pulling up the new user defaults.
– The subscription panel (e.g. forums) shows the Name of the user 3 times. Looks like it is the display name. E.g. I see: Manage subscriptions for user: C10 – C10 – C10. I think just the user login name would be just fine.
– In the admin panel, under forums, there is a tab called ‘subscriptions’. Personally i think it is clutter. It does not exist for topic or users and does not add really more than what is already described in the settings panel.
– In the subscriptions panel for a single user would it be possible to combine the add and remove forums options?
– In the settings tab the sentence: Subscribe new users automatically to the below ticked forums: is underlined. But it is not a link.Thanks much, let me know if I need to elaborate on any of the above
Forum: Plugins
In reply to: [bbp style pack] BBP Style Pack 5.1.0 site login crash WordPress 6.1Fair enough! If it is any help, instead of the (unreliable) HTTP_REFERER $_SERVER variable add this function and call it instead:
// Get the full URL of the current page
function current_page_url(){
$page_url = ‘http’;
if(isset($_SERVER[‘HTTPS’]) && $_SERVER[‘HTTPS’] == ‘on’){
$page_url .= ‘s’;
}
return $page_url.’://’.$_SERVER[‘SERVER_NAME’].$_SERVER[‘REQUEST_URI’];
}Forum: Plugins
In reply to: [bbp style pack] BBP Style Pack 5.1.0 site login crash WordPress 6.1Thanks Robin. Happy to help testing. Not sure if this is one of the things you intended to fix in 5.1.0 but I get this error since rolling back to 5.1.1 (aka 5.0.9)
Got error ‘PHP message: PHP Warning: Undefined array key “HTTP_REFERER” in /public_html/wp-content/plugins/bbp-style-pack/includes/functions.php on line 2681