I changed Functions.php and now I get "cannot decode raw data NSURLErrorDomain:-1015" (not blank)

I'm desperated... I added some code to the file functions.php (from wp-includes in Filezilla), and now I get "

I'm desperated...

I added some code to the file functions.php (from wp-includes in Filezilla), and now I get "cannot decode raw data NSURLErrorDomain:-1015" in Safari;

"Es posible que la página web en / no funcione temporalmente o se haya trasladado de manera permanente a una nueva dirección web." in Chrome.

As I read many of you with this problem see a white page, I don't see anything, just that message.

I DO CAN access to wp-admin panel.

I don't have backup :(

I tried to delete the last code I added, but still doesn't work.

This is the code I added:

I'm so scared and don't know what to do, I did A LOT of changes in my design... please HELP!

I'm desperated...

I added some code to the file functions.php (from wp-includes in Filezilla), and now I get "cannot decode raw data NSURLErrorDomain:-1015" in Safari;

"Es posible que la página web en http://carolinacomposto/ no funcione temporalmente o se haya trasladado de manera permanente a una nueva dirección web." in Chrome.

As I read many of you with this problem see a white page, I don't see anything, just that message.

I DO CAN access to wp-admin panel.

I don't have backup :(

I tried to delete the last code I added, but still doesn't work.

This is the code I added:

I'm so scared and don't know what to do, I did A LOT of changes in my design... please HELP!

Share Improve this question edited Feb 6, 2017 at 21:03 Carolina Composto asked Feb 6, 2017 at 20:44 Carolina CompostoCarolina Composto 111 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 1

So first you should not modify any of the core WordPress files, ever. Otherwise, your changes will be lost the next time you upgrade WP.

Instead you want to modify your theme's function file (if it is your own theme) or make a child theme and modify its functions.php file. (if you are using someone else's theme)

As for figuring out the error, it will usually appear in your web server's logs. If you can access those, and show us the error, we should be able to help out.

Assuming you only changed that one file, another option would be to download a fresh copy of WordPress on your computer, grab the wp-includes/functiosn.php file from that fresh copy and replace the one you modified with it. At least then you'll know for sure you are back to the original file.

But don't panic, don't do anything else in code until you've figured this out, just to be sure we don't lose anything. Everything you've done is probably still there - just not loading correctly.

Hope this helps!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742327619a4423065.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信