Home › Forums › Themes Support › Pain – Charity & Fundraise Non-profit WordPress Theme › Fatal error: Switch statements may only contain one default clause
- This topic has 6 replies, 3 voices, and was last updated 6 years, 4 months ago by Loc Nguyen.
-
AuthorPosts
-
-
11/09/2017 at 12:22 AM #10617
Dear JWStheme admins,
I just bought the PAIN theme yesterday and installed it in my multisite WP. Initially it worked and then when I uploaded the demo data I got file size – timed out error. So I increased and re uploaded again. Then I ended up getting the following error.
Fatal error: Switch statements may only contain one default clause in /one4india.org/wp-content/themes/pain/framework/presets.php on line 26
-
11/09/2017 at 9:21 AM #10643
Hi sarathinaid,
Could you please send us your Admin + FTP info?
We will check and resolve it for you.
Thanks! -
11/13/2017 at 10:32 AM #10791This reply has been marked as private.
-
11/13/2017 at 1:38 PM #10802
Hi sarathinaid,
Thanks for reaching us!
Please increase the max upoad size value and please try import once again!
http://prntscr.com/h9qeie
http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/
If something wrong, please contact us.
Thanks! -
11/13/2017 at 9:42 PM #10820
Thanks Hoa Ngo. I have increased the upload size as you suggested. Even now if I activate the Pain theme to the site, it give me the following error – Fatal error: Switch statements may only contain one default clause
Since its the parent site, I cannot even go to the dashboard after that. So I had to remove the pain theme from backend. And then upload it again.Now I have just network enabled the pain theme but not activated it. Please check and see if this is a conflict with another theme that is installed.
-
11/14/2017 at 10:49 PM #10864This reply has been marked as private.
-
11/15/2017 at 9:22 AM #10889
Your Ftp can not access. You can delete the error here
http://prntscr.com/halggdfile: pain/wp-content/theme/framework/preset.php
If you can not delete. Please send back the correct ftp information. Or cpanl info
-
-
AuthorPosts
You must be logged in to reply to this topic.