Home Forums Themes Support Pain – Charity & Fundraise Non-profit WordPress Theme Fatal error: Switch statements may only contain one default clause

Viewing 6 reply threads
  • Author
    Posts
    • #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

    • #10643

      Hi sarathinaid,

      Could you please send us your Admin + FTP info?
      We will check and resolve it for you.
      Thanks!

    • #10791
      This reply has been marked as private.
    • #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!

    • #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.

    • #10864
      This reply has been marked as private.
    • #10889

      Your Ftp can not access. You can delete the error here
      http://prntscr.com/halggd

      file: pain/wp-content/theme/framework/preset.php

      If you can not delete. Please send back the correct ftp information. Or cpanl info

Viewing 6 reply threads

You must be logged in to reply to this topic.