Hi @brandon2
Thanks for using Bitnami WordPress Multisite!
I have been checking the logs generated by the bnsupport-tool
and discovered that there are plenty of PHP errors in your instance's apache error_log
file:
[Thu Dec 31 19:06:21.216464 2020] [proxy_fcgi:error] [pid 5468:tid 140161945818880] [client Y.Y.Y.Y:46658] AH01071: Got error 'PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534', referer: https://www.XXXXX.com/ny-brooklyn-park-slope/memberships/
[Thu Dec 31 19:06:21.653804 2020] [core:error] [pid 5468:tid 140162214385408] [client Y.Y.Y.Y:46658] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://www.XXXXX.com/ny-brooklyn-park-slope/wp-content/themes/franchise-location/style.css
[Thu Dec 31 19:06:25.802933 2020] [proxy_fcgi:error] [pid 4965:tid 140161794750208] [client Z.Z.Z.Z:1961] AH01071: Got error 'PHP message: PHP Notice: Undefined variable: message in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/template-parts/lead-form.php on line 76PHP message: PHP Notice: Undefined variable: result in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/template-parts/lead-form.php on line 30', referer: http://m.facebook.com/
[Thu Dec 31 19:06:30.030644 2020] [autoindex:error] [pid 5468:tid 140161970996992] [client 66.249.72.18:56823] AH01276: Cannot serve directory /opt/bitnami/apps/wordpress/htdocs/wp-content/uploads/sites/31/revslider/templates/themeplicity_offer/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 31 19:07:05.567829 2020] [proxy_fcgi:error] [pid 5506:tid 140161945884416] [client K.K.K.K:6246] AH01071: Got error 'PHP message: PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP) in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/franchise-location/page-templates/class-schedule.php on line 534PHP message: PHP Warning: Use o
This is likely the reason why the PHP process is taking up a lot of the CPU usage, see:
-----------------------------------
Check CPU usage for current processes
-----------------------------------
Running: ps -e -o pcpu,nice,state,cputime,args --sort -pcpu | awk '{print $1,$2,$3,$4,$5}'
In: /opt/bitnami
Output:
%CPU NI S TIME COMMAND
54.2 0 S 00:01:50 /opt/bitnami/bnsupport-tool
49.2 0 S 03:42:45 php-fpm:
49.1 0 R 03:42:32 php-fpm:
48.9 0 R 03:41:25 php-fpm:
48.7 0 R 01:42:49 php-fpm:
48.2 0 R 00:54:45 php-fpm:
Could you please take a look at those errors? At first sight, it seems to be related to the theme franchise-location
Best regards,
Jose Antonio Carmona
Was my answer helpful? Click on 