Forum Replies Created

Viewing 15 replies - 16 through 30 (of 124 total)
  • what 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/

    Thread Starter tmuka

    (@tmuka)

    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 ??

    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!

    tmuka

    (@tmuka)

    thanks, that makes sense.

    tmuka

    (@tmuka)

    thanks for the info @robertabela!

    Could you clarify if “unauthorized users” mean non-authenticated public, or just non-admin wordpress account users?

    Thanks!

    Hey @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.

    Hi @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

    Yes @robert681 we are using custom login pages via the Theme My Login plugin with WP MU. Thank you for the great communication about this!

    I 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.
    Thread Starter tmuka

    (@tmuka)

    Sure thing. Thank you. I posted here
    https://github.com/woocommerce/woocommerce/issues/24432

    Thread Starter tmuka

    (@tmuka)

    Excellent, thanks! Rated! ??

    Thread Starter tmuka

    (@tmuka)

    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!

    Thread Starter tmuka

    (@tmuka)

    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.
Viewing 15 replies - 16 through 30 (of 124 total)