Wordpress sites breaking?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ruff
    I have a plan B
    • Aug 2004
    • 5507

    #1

    Wordpress sites breaking?

    Are anyone's WordPress sites breaking? If so, delete the rta-restricted-to-adults-header plugin with FTP, and clear the cache and Bob's your Uncle.
    CryptoFeeds
  • Mindi
    So Fucking Banned
    • Aug 2024
    • 1215

    #2
    That plugin hasn't been updated since 2018 and was never tested beyond WordPress 5.x or PHP 7.x. If you're running PHP 8+ (which most hosts have moved to), old plugins like this will throw fatal errors.

    If you still need RTA labeling, you can add the header manually in your theme's functions.php or via .htaccess without the plugin overhead.

    Code:
    <IfModule mod_headers.c>
        Header set Rating "RTA-5042-1996-1400-1577-RTA"
    </IfModule>
    Or the meta tag:
    Code:
    <meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />

    Comment

    • ruff
      I have a plan B
      • Aug 2004
      • 5507

      #3
      It took me forever to figure this out. I started updating my WP sites to PHP 8.1.
      That's the last plugin I would have suspected.
      Thanks for the explanation.
      CryptoFeeds

      Comment

      • fris
        Too lazy to set a custom title
        • Aug 2002
        • 55679

        #4
        I would test plugins on a test site before upgrading php as some use functions not available in current I found 8.3 php works best with most plugins I try to limit the amount of plugins usually to 1-3
        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

        Comment

        • AmeliaG
          Too lazy to set a custom title
          • Jan 2003
          • 10663

          #5
          Dealing with needing to upgrade all the plugins and scripts etc. to deal with newer php has taken up soooooooo much of my time lately.
          GFY Hall of Famer

          AltStar Hall of Famer




          Blue Blood's SpookyCash.com

          Babe photography portfolio

          Comment

          • Mindi
            So Fucking Banned
            • Aug 2024
            • 1215

            #6
            Originally posted by AmeliaG
            Dealing with needing to upgrade all the plugins and scripts etc. to deal with newer php has taken up soooooooo much of my time lately.
            You literally have friends that do this

            Comment

            • AmeliaG
              Too lazy to set a custom title
              • Jan 2003
              • 10663

              #7
              Originally posted by Mindi
              You literally have friends that do this

              So far, Claude has been very helpful, but you are light years more advanced than I am, so Ima probably hit you up with dumb questions now 😍
              GFY Hall of Famer

              AltStar Hall of Famer




              Blue Blood's SpookyCash.com

              Babe photography portfolio

              Comment

              Working...