Best solution check errog log
My site on hostinger lets trr
Hostinger Hpanel >> analytics >> 5xx error
error 500 but no detailed info then hostinger sucks here
In dedicated server apache or nginx server log it shows the acutal problem.
email about error
hostinger also email but not as on happens lets checkout the email
NO email,..
wordpress multisite there has been a critical error on this website theme change
There has been a critical error on this website hostinger hpanel
home/[username]/.logs/error_log_[domain].
Keep in mind that the error_log file will only be available if you enable PHP error logging. To do so, configure the PHP settings from your hPanel.
firsgt we need to enable php error logs Hpanel >> php configration >> log errors
enabled display error on the screen i got this
Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /home/u971606142/domains/rajuginni.com/public_html/wp-content/themes/prose/lib/structure/custom.php:38 Stack trace: #0 /home/u971606142/domains/rajuginni.com/public_html/wp-content/themes/prose/lib/structure/custom.php(38): fwrite() #1 /home/u971606142/domains/rajuginni.com/public_html/wp-content/themes/prose/functions.php(23): prose_create_custom_php() #2 /home/u971606142/domains/rajuginni.com/public_html/wp-settings.php(672): include(‘/home/u97160614…’) #3 /home/u971606142/domains/rajuginni.com/public_html/wp-config.php(102): require_once(‘/home/u97160614…’) #4 /home/u971606142/domains/rajuginni.com/public_html/wp-load.php(50): require_once(‘/home/u97160614…’) #5 /home/u971606142/domains/rajuginni.com/public_html/wp-blog-header.php(13): require_once(‘/home/u97160614…’) #6 /home/u971606142/domains/rajuginni.com/public_html/index.php(17): require(‘/home/u97160614…’) #7 {main} thrown in /home/u971606142/domains/rajuginni.com/public_html/wp-content/themes/prose/lib/structure/custom.php on line 38
looks like new php functions requirements with old theme
Switched php 7.3 from 8.2 error gone
changed to other theme working.. again previous theme working.
again back php 8.2 working 8.3 also working.
again changed another theme
Fatal error: Uncaught Error: Undefined constant “GENESIS_RESPONSIVE_SLIDER_SETTINGS_FIELD”
then i am going to change php versios
switched php 7.2 working now again i am going to php 8.2 worked