Skip to content

u/RRikesh

In this archive from Nov 2011 to Oct 2025

18
posts
157
comments
1
media
368
score

I have a couple of 10+ year old WP websites still running - that said, they are all custom built with minimal third-party plugins.

Most issues you'll get will be easy to fix. Find each warning/error that you get, fix it and go hunt on the next error. For example the undefined keys warning you're talking about comes from PHP 8.1 which is trivial to fix.

There are also tools like Rector which are very helpful once you figure out how to use them.

Take a copy of the website to your local dev server and have fun.

5 points

It won't affect the main website. If you're using docker, for example, you can turn on/off the dev website with one command and use it whenever you need maintenance. Since there won't be traffic on the dev website, it won't use that much resources.

1 points

The aim is to let you know that things may break for any reason, if things break, you revert to your last backup and you’re website is functional again.

What you’re asking is a good reason to have a development server to try updating stuff and take your time to fix the website if anything breaks.

2 points

The actual reason I got that error is that clients’ hosts update to PHP8 while clients are still running old plugin versions.

All plugins which are still maintained are compatible with PHP8.

However you have another problem - a create_function in your wp-config.php. Fid you check what code is present in the wp-config.php file?

1 points

Easiest way is to use .htaccess rules, something like this should work:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.