tmuka
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: RSS Feed No Longer Pulling For MailChimpwhat a frustration! my guess is mailchimp’s server/stack has an outdated CA cert. I got a cert error on my LetsEncrypt.org cert using curl until i updated and older version of
curl
to a newer version… we had to disable the force https redirect on our hosting and use a non-https url for mailchimp to work. eg https://example.com/feed/Forum: Plugins
In reply to: [BuddyPress Groups Extras] fix for Call to undefined function bp_is_active()hmm. still getting more fatal errors, so there’s something else at play here i’ll have to troubleshoot.
thanks for the code fix @jjowens ! hopefully this will make it into an official plugin update soon.
thanks for sharing your fixes @torakas ??
Forum: Plugins
In reply to: [Cimy User Extra Fields] REST Support?I was hoping to find REST API support info too. Guess i’ll have to keep digging or figure out what to migrate to. Thanks!
Forum: Plugins
In reply to: [WP Activity Log] Plugin has bee removed from www.remarpro.com?thanks, that makes sense.
Forum: Plugins
In reply to: [WP Activity Log] Plugin has bee removed from www.remarpro.com?thanks for the info @robertabela!
Could you clarify if “unauthorized users” mean non-authenticated public, or just non-admin wordpress account users?
Thanks!
Forum: Plugins
In reply to: [WP Activity Log] Fatal Error with WP Security Audit LogHey @robert681
Sorry I missed your reply about this last week. Unfortunately I’m unable to share access to my site or hosting environment, but I wonder if it helps to know it’s a WPMU install? Have you tested with WPMU? I can see if i can setup a vanilla MU site to see if I can recreate the issue.
the debug.log look like this…
[25-Sep-2019 17:01:07 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AT_Audit has a deprecated constructor in /var/www/wpmu.example.com/htdocs/wp-content/plugins/audit-trail/models/audit.php on line 29 [25-Sep-2019 17:01:13 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AT_Audit has a deprecated constructor in /var/www/wpmu.example.com/htdocs/wp-content/plugins/audit-trail/models/audit.php on line 29 [25-Sep-2019 17:01:16 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in /var/www/wpmu.example.com/htdocs/wp-includes/link-template.php:373 Stack trace: #0 /var/www/wpmu.example.com/htdocs/wp-includes/link-template.php(335): _get_page_link(Object(WP_Post), false, false) #1 /var/www/wpmu.example.com/htdocs/wp-includes/link-template.php(146): get_page_link(Object(WP_Post), false, false) #2 /var/www/wpmu.example.com/htdocs/wp-content/mu-plugins/includes/class-theme-my-login.php(954): get_permalink(Object(WP_Post)) #3 /var/www/wpmu.example.com/htdocs/wp-content/mu-plugins/includes/class-theme-my-login.php(690): Theme_My_Login::get_page_link('login', Array) #4 /var/www/wpmu.example.com/htdocs/wp-includes/class-wp-hook.php(288): Theme_My_Login->site_url('https://wpmu.exa...', 'wp-login.php', NULL) #5 /var/www/wpmu.example.com/htdocs/wp-includes/plugin.php(208): WP_Hook->apply_filters('https://wpmu.exa...', Array) #6 /var/www/wpmu.example.com/htdocs/wp-includes/link-template.php(3190): apply_filters('site_u in /var/www/wpmu.example.com/htdocs/wp-includes/link-template.php on line 373 [25-Sep-2019 17:01:18 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in /var/www/wpmu.example.com/htdocs/wp-includes/link-template
Thanks!
- This reply was modified 5 years, 6 months ago by tmuka.
Forum: Plugins
In reply to: [WP Activity Log] Fatal Error with WP Security Audit LogHi @robert681
I had the same issue after updating from 3.4.2 to 3.5 with wp-cli resulting in the website frontend failing.
`
Stack trace:
#0 /var/www/example.com/htdocs/wp-includes/link-template.php(335): _get_page_link(Object(WP_Post), false, false)
#1 /var/www/example.com/htdocs/wp-includes/link-template.php(146): get_page_link(Object(WP_Post), false, false)
#2 /var/www/example.com/htdocs/wp-content/mu-plugins/includes/class-theme-my-login.php(954): get_permalink(Object(WP_Post))
#3 /var/www/example.com/htdocs/wp-content/mu-plugins/includes/class-theme-my-login.php(690): Theme_My_Login::get_page_link(‘login’, Array)
#4 /var/www/example.com/htdocs/wp-includes/class-wp-hook.php(288): Theme_My_Login->site_url(‘https://example.com’, ‘wp-login.php’, NULL)
#5 /var/www/example.com/htdocs/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘https://example.com’, Array)
#6 /var/www/example.com/htdocs/wp-includes/link-template.php(3190): apply_filters(‘site_u in /var/www/example.com/htdocs/wp-includes/link-template.php on line 373
Error: The site is experiencing technical difficulties.
`
to fix it i reverted to the older version with
wp plugin install --force --version=3.4.2 wp-security-audit-log
Forum: Plugins
In reply to: [WP Activity Log] Fatal Error with WP Security Audit LogYes @robert681 we are using custom login pages via the Theme My Login plugin with WP MU. Thank you for the great communication about this!
Forum: Plugins
In reply to: [WP Activity Log] Fatal Error with WP Security Audit LogI encountered this same php Fatal Error on my WPMU site when loading any page.
Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in /var/www/redacted.example.com/htdocs/wp-includes/link-template.php:373 Stack trace: #0 /var/www/redacted.example.com/htdocs/wp-includes/link-template.php(335): _get_page_link(Object(WP_Post), false, false) #1 /var/www/redacted.example.com/htdocs/wp-includes/link-template.php(146): get_page_link(Object(WP_Post), false, false) #2 /var/www/redacted.example.com/htdocs/wp-content/mu-plugins/includes/class-theme-my-login.php(954): get_permalink(Object(WP_Post)) #3 /var/www/redacted.example.com/htdocs/wp-content/mu-plugins/includes/class-theme-my-login.php(690): Theme_My_Login::get_page_link('login', Array) #4 /var/www/redacted.example.com/htdocs/wp-includes/class-wp-hook.php(288): Theme_My_Login->site_url('https://redacted...', 'wp-login.php', 'login') #5 /var/www/redacted.example.com/htdocs/wp-includes/plugin.php(208): WP_Hook->apply_filters('https://redacted...', Array) #6 /var/www/redacted.example.com/htdocs/wp-includes/link-template.php(3190): apply_filters('sit in /var/www/redacted.example.com/htdocs/wp-includes/link-template.php on line 373 Error: The site is experiencing technical difficulties.
fixed it by network deactivating the security-audit-log plugin
(using wp-cli)wp plugin deactivate wp-security-audit-log --skip-plugins --network
FWIW, we do use a handful of other plugins (some original), but we don’t use UsersWP. I suspect as seen in the stack trace that the ‘theme-my-login’ plugin might be the incompatible plugin in my case.
reverting to the previous release of WP Security Audit Log also fixes my issue.
wp plugin install --version=3.4.2 wp-security-audit-log --skip-plugins
- This reply was modified 5 years, 6 months ago by tmuka.
- This reply was modified 5 years, 6 months ago by tmuka. Reason: added details
- This reply was modified 5 years, 6 months ago by tmuka. Reason: mention installed previous version as a workaround
- This reply was modified 5 years, 6 months ago by tmuka.
Sure thing. Thank you. I posted here
https://github.com/woocommerce/woocommerce/issues/24432Excellent, thanks! Rated! ??
Hi Robert.
Thanks- Yes, i’m a dev. That patched file and filter do fix the issue.
Only thing is i’m not likely to implement the filter across dozens of sites. It’s not that big a deal since i know how to work around it by making my browser window shorter…
If the plugin instead had an option to set default num to view that I could update with wp-cli i’d be more inclined to use it.
Thanks for caring enough to make the fix available! I appreciate your hard work on the plugin.
Thanks!
3.4.1 is better in that the loading throbber never appears, but still no more entries ever load than the default 25. I can get it to scroll/load more entries only by making my window shorter than the log rows so i get a scrollbar.
To reproduce in Chrome Dev tools, you can set device emulation to “Responsive” 1280×2250, Desktop. Interestingly, if i set the emulation to my actual viewport height 2160px in dev tools it doesn’t recreate the issue. I’m not sure why it’s different in emulation than with my actual browser (perhaps something with DPI scaling in emulation- windows 10 is set to 100% scaling for me).
Tell accounting you probably need to get a 40″ 4k monitor for testing! ??
Hope this helps!
- This reply was modified 5 years, 10 months ago by tmuka.