Tagged: critical error
-
AuthorPosts
-
April 20, 2022 at 7:51 pm #1348967
Hi guys, just working on this page https://dreamtexltd.com/dreamtexearth/ saved the page and got a critical error.
I can view the page however I cant now edit.
Theme Version 4.9.2.1
Login details below.Error Details
=============
An error of type E_ERROR was caused in line 3766 of the file /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php. Error message: Uncaught TypeError: Argument 1 passed to aviaElementTemplates::set_locked_attributes() must be of the type array, string given, called in /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php on line 1062 and defined in /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php:3766
Stack trace:
#0 /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php(1062): aviaElementTemplates->set_locked_attributes(”, Object(avia_sc_slider_full), ‘av_slide_full’, Array, Array, ”)
#1 /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php(1106): avia_sc_slider_full->get_element_styles(Array)
#2 /home/cluster-sites/2/d/dreamtThanks
RicApril 21, 2022 at 8:53 am #1348985Hey Ric,
Thanks for the login . I’m only seeing a 500 internal server error when trying to edit a page on your site, and that doesn’t really give any clues as to what could be going wrong. Could you share server error logs with us please? You could try to deactivate all plugins, or reinstall the theme, to see if that changes anything.
Best regards,
RikardApril 22, 2022 at 10:40 am #1349124Hi Rikard,
I hadnt noticed that before but its only the Home page that is throwing up the 500 internal server error for me. I can edit all the other pages, apart from the page ‘Dreamtex Earth’Unfortunately I do not have access to gain server error info at the moment…I’ll need to ask the client to contact their host
I have re-installed the theme, also deactivated all plug-ins and tried to edit the page mentioned above and I get this:
I now have a different error from WordPress:
In this case, WordPress caught an error with your theme, Enfold.First, visit your website (https://dreamtexltd.com/) and check for any visible issues. Next, visit the page where the error was caught (https://dreamtexltd.com/wp-admin/admin-ajax.php) and check for any visible issues.
Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 224 of the file /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/framework/php/inc-autoconfig.php. Error message: require(): Failed opening required ‘/home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/framework/php/widgets/class-widget-loader.php’ (include_path=’.:/usr/share/pear73:/usr/share/php’)April 22, 2022 at 5:59 pm #1349174Hi,
Thanks for the update. We would need some more information to help you out further, since this is not a general problem with the theme. If you could share server error logs with us, then it would be helpful. If this is only happening on some pages, then it’s likely due to the content on those pages. Is there any special code added to those pages maybe?
Best regards,
RikardApril 25, 2022 at 8:04 pm #1349442Hi Rikard,
We had a reply from the hosts:I am sorry to hear that you are facing these issues. You can view the error logs as shown here:
https://www.123-reg.co.uk/support/hosting/how-can-i-view-and-download-my-log-files/
I have checked the error logs and noticed that your website requires more than the available resources.
I have now made some adjustments from my end, however, I would strongly advise completely removing any unneeded plugins/themes/ if you still have issues.So I have only the last 100 lines of server error:
dreamtexltd.com [Mon Apr 25 10:52:00 2022] [error] [client 88.83.119.183:0] mmap() failed: [12] Cannot allocate memory
dreamtexltd.com [Mon Apr 25 10:52:27 2022] [error] [client 88.83.119.183:0] #1 /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php(1106): avia_sc_slider_full->get_element_styles(Array)
dreamtexltd.com [Mon Apr 25 10:52:27 2022] [error] [client 88.83.119.183:0] Stack trace:
dreamtexltd.com [Mon Apr 25 10:52:27 2022] [error] [client 88.83.119.183:0] PHP Fatal error: Uncaught TypeError: Argument 1 passed to aviaElementTemplates::set_locked_attributes() must be of the type array, string given, called in /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php on line 1062 and defined in /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php:3766
dreamtexltd.com [Mon Apr 25 10:52:27 2022] [error] [client 88.83.119.183:0] #2 /home/cluster-sites/2/d/dreamt in /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php on line 3766
dreamtexltd.com [Mon Apr 25 10:52:27 2022] [error] [client 88.83.119.183:0] #0 /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php(1062): aviaElementTemplates->set_locked_attributes(”, Object(avia_sc_slider_full), ‘av_slide_full’, Array, Array, ”)
dreamtexltd.com [Mon Apr 25 11:42:56 2022] [error] [client 194.87.218.22:0] AH01630: client denied by server configuration: /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/export.php
dreamtexltd.com [Mon Apr 25 11:43:21 2022] [error] [client 194.87.218.22:0] AH01630: client denied by server configuration: /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/plugins/backup_index.php
dreamtexltd.com [Mon Apr 25 11:43:42 2022] [error] [client 194.87.218.22:0] AH01630: client denied by server configuration: /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/config.bak.php
dreamtexltd.com [Mon Apr 25 11:43:45 2022] [error] [client 194.87.218.22:0] AH01630: client denied by server configuration: /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/plugins/wpconfig.bak.php
dreamtexltd.com [Mon Apr 25 11:43:55 2022] [error] [client 194.87.218.22:0] AH01630: client denied by server configuration: /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/db-cache.php
dreamtexltd.com [Mon Apr 25 11:44:05 2022] [error] [client 194.87.218.22:0] AH01630: client denied by server configuration: /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/outcms.php
dreamtexltd.com [Mon Apr 25 12:09:01 2022] [error] [client 10.16.12.5:0] End of script output before headers: wp-cron.php
dreamtexltd.com [Mon Apr 25 12:19:01 2022] [error] [client 10.16.12.5:0] End of script output before headers: wp-cron.php
dreamtexltd.com [Mon Apr 25 12:31:44 2022] [error] [client 81.102.37.178:0]
dreamtexltd.com [Mon Apr 25 12:31:44 2022] [error] [client 81.102.37.178:0] mmap() failed: [12] Cannot allocate memory
dreamtexltd.com [Mon Apr 25 12:31:44 2022] [error] [client 81.102.37.178:0]
dreamtexltd.com [Mon Apr 25 12:31:44 2022] [error] [client 81.102.37.178:0] mmap() failed: [12] Cannot allocate memory
dreamtexltd.com [Mon Apr 25 12:31:44 2022] [error] [client 81.102.37.178:0] mmap() failed: [12] Cannot allocate memory
dreamtexltd.com [Mon Apr 25 12:31:44 2022] [error] [client 81.102.37.178:0]
dreamtexltd.com [Mon Apr 25 12:32:02 2022] [error] [client 10.16.12.5:0] End of script output before headers: wp-cron.php
dreamtexltd.com [Mon Apr 25 12:35:18 2022] [error] [client 10.16.12.5:0]
dreamtexltd.com [Mon Apr 25 12:35:18 2022] [error] [client 10.16.12.5:0] mmap() failed: [12] Cannot allocate memory
dreamtexltd.com [Mon Apr 25 12:35:18 2022] [error] [client 10.16.12.5:0] PHP Fatal error: Out of memory (allocated 139132928) (tried to allocate 2101248 bytes) in /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-includes/functions.php on line 617
dreamtexltd.com [Mon Apr 25 12:35:18 2022] [error] [client 10.16.12.5:0] mmap() failed: [12] Cannot allocate memory
dreamtexltd.com [Mon Apr 25 12:35:18 2022] [error] [client 10.16.12.5:0]
dreamtexltd.com [Mon Apr 25 12:47:01 2022] [error] [client 10.16.12.5:0] End of script output before headers: wp-cron.php
dreamtexltd.com [Mon Apr 25 12:54:01 2022] [error] [client 10.16.12.5:0] End of script output before headers: wp-cron.php
dreamtexltd.com [Mon Apr 25 13:01:01 2022] [error] [client 10.16.12.5:0] End of script output before headers: wp-cron.php
dreamtexltd.com [Mon Apr 25 13:01:33 2022] [error] [client 81.102.37.178:0] mmap() failed: [12] Cannot allocate memory
dreamtexltd.com [Mon Apr 25 13:01:33 2022] [error] [client 81.102.37.178:0]
dreamtexltd.com [Mon Apr 25 13:01:33 2022] [error] [client 81.102.37.178:0]
dreamtexltd.com [Mon Apr 25 13:01:33 2022] [error] [client 81.102.37.178:0] mmap() failed: [12] Cannot allocate memory
dreamtexltd.com [Mon Apr 25 13:08:01 2022] [error] [client 10.16.12.5:0] End of script output before headers: wp-cron.php
dreamtexltd.com [Mon Apr 25 13:15:01 2022] [error] [client 10.16.12.5:0] End of script output before headers: wp-cron.php
dreamtexltd.com [Mon Apr 25 13:23:01 2022] [error] [client 10.16.12.5:0] End of script output before headers: wp-cron.php
dreamtexltd.com [Mon Apr 25 14:15:17 2022] [error] [client 90.208.20.76:0] AH01630: client denied by server configuration: /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/uploads/2021/04/index.php
dreamtexltd.com [Mon Apr 25 14:15:17 2022] [error] [client 90.208.20.76:0] AH01630: client denied by server configuration: /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/uploads/2021/04/index.php
dreamtexltd.com [Mon Apr 25 18:32:29 2022] [error] [client 81.102.37.178:0] PHP Fatal error: Uncaught TypeError: Argument 1 passed to aviaElementTemplates::set_locked_attributes() must be of the type array, string given, called in /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php on line 1062 and defined in /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php:3766
dreamtexltd.com [Mon Apr 25 18:32:29 2022] [error] [client 81.102.37.178:0] Stack trace:
dreamtexltd.com [Mon Apr 25 18:32:29 2022] [error] [client 81.102.37.178:0] #0 /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php(1062): aviaElementTemplates->set_locked_attributes(”, Object(avia_sc_slider_full), ‘av_slide_full’, Array, Array, ”)
dreamtexltd.com [Mon Apr 25 18:32:29 2022] [error] [client 81.102.37.178:0] #1 /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php(1106): avia_sc_slider_full->get_element_styles(Array)
dreamtexltd.com [Mon Apr 25 18:32:29 2022] [error] [client 81.102.37.178:0] #2 /home/cluster-sites/2/d/dreamt in /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-element-templates.php on line 3766
dreamtexltd.com [Mon Apr 25 18:32:49 2022] [error] [client 5.161.100.123:0] AH01276: Cannot serve directory /home/cluster-sites/2/d/dreamtexltd.com/public_html/wp-admin/css/: No matching DirectoryIndex (index.cgi,index.php) found, and server-generated directory index forbidden by Options directiveI have been back on the website, there is no longer a 500 internal server error on the home page, however Im still getting the critical error on the initial page in question, I have deactivated all plug-ins and still get the critical error.
I can however edit the page if i use the 2022 WP theme. I have removed WP 2021 theme.
As far as I can remember, I do not think there is any custom code on that page.
Hope this gives some insight.
Thanks
RicApril 26, 2022 at 9:24 am #1349479Hi,
Thanks for the update. It seems like your site is sometimes running out of memory. Does it make any difference if you deactivate a few plugins? Some of them might not even be necessary to have installed. Also, do you know what the current memory limit is on your site?
Best regards,
RikardApril 26, 2022 at 11:42 am #1349509Hi,
The site seems to be working again today!
The critical error has gone, I can access both pages now.
I did remove Layerslider plugin and WPshapere admin theme plugin (both not in use)
The memory limit is 512mb I believe.The options shown below relate to your server setup. If changes are required, you may need your web host’s assistance.
Server architecture Linux 2.6.32-754.35.8.el6.x86_64 x86_64
Web server Apache/2.4.52 (Unix)
PHP version 7.3.31 (Supports 64bit values)
PHP SAPI cgi-fcgi
PHP max input variables 5000
PHP time limit 120
PHP memory limit 512M
Max input time 60
Upload max filesize 512M
PHP post max size 520M
cURL version 7.19.7 NSS/3.44
Is SUHOSIN installed? No
Is the Imagick library available? No
Are pretty permalinks supported? Yes
.htaccess rules Custom rules have been added to your .htaccess file.I think we’re ok now!
April 26, 2022 at 4:40 pm #1349552Hi,
Great, I’m glad to hear that things are working as they should again. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardApril 26, 2022 at 11:36 pm #1349594Hi Rikard, you can close the topic, thanks for your time and help.
Appreciated as always.
Best
RicApril 27, 2022 at 8:54 am #1349636Hi,
Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘bluebubble’ is closed to new replies.