Skip to content

Forum in maintenance, we will back soon 🙂

WP Code keeps break...
 
Notifications
Clear all

WP Code keeps breaking my website

9 Posts
3 Users
1 Reactions
49 Views
(@google-monstahmarketing)
Posts: 6
Active Member
Topic starter
 

Does anyone else have that problem and is there a fix for it? Thanks!

 
Posted : 09/03/2024 2:53 am
(@husein)
Posts: 527
Member Moderator
 

@google-monstahmarketing Please explain more whats happening and whats the error you're getting.

If you have the same name of the function in 2 codes it will give errors, or if there's a syntax error too it will give some errors. So, try deactivating the the code snippets one by one and see which one is giving the error.

 
Posted : 09/03/2024 11:14 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@google-monstahmarketing what is your website URL? What snippets are enabled?

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 09/03/2024 5:49 pm
(@google-monstahmarketing)
Posts: 6
Active Member
Topic starter
 

@husein Hi, when my website got broken there was not way to access my site. I had was to ssh using filezilla and remove the plugin for my site to work again. I even went on the wordpress plugin store to download it from there and had the same results. The funny thing is the plugin works fine on my other website.

 
Posted : 09/04/2024 6:41 am
(@google-monstahmarketing)
Posts: 6
Active Member
Topic starter
 

@ssadvisor The plugin was working fine all along until I place some code from chat gpt in there.

My website couldn't open or load so I had to ssh into my server to remove the plugin then my site was back up and running. The funny thing is i lost all my other software I had running on my site because the were using wp code. when my site loads it says error.

 
Posted : 09/04/2024 6:49 am
(@google-monstahmarketing)
Posts: 6
Active Member
Topic starter
 

@husein This is the error:2024-08-31 19:24:56 - Error: No valid input provided

 
Posted : 09/04/2024 6:51 am
(@google-monstahmarketing)
Posts: 6
Active Member
Topic starter
 

@ssadvisor This is the error:2024-08-31 19:24:56 - Error: No valid input provided

 
Posted : 09/04/2024 6:52 am
(@google-monstahmarketing)
Posts: 6
Active Member
Topic starter
 

@husein This is the actual message: {"success":false,"message":"No article provided"}

 
Posted : 09/04/2024 7:04 am
(@husein)
Posts: 527
Member Moderator
 

@google-monstahmarketing This happens when you enter two functions with the same name in 2 different code snippets, and both are enabled. I got this error a while ago.

Always edit your codes, and that ChatGPT generates them before you activate them. An error in the code or duplicate name of the function may cause the site to crash.

 
Posted : 09/04/2024 6:04 pm
SSAdvisor reacted
Share: