douxia1988 2017-03-26 13:06
浏览 48

functions.php上的随机语法错误

I added a function to functions.php (that was previously working) and updated it in the server using filezilla. There was a syntax error outside of my function.

Then, to solve the issue, i changed the functions.php for i copy that i had of a previously working version. But there were syntax errors there too.

Then i returned to my new version and to the backup. Both had sintax errors, but different ones.

I don't understand what is happening. It should work with the backup, or at least throw the same syntax error every time. My thoughts are that Filezilla is corrupting the file or something like that when it uploads it

¿What could be the reason for this errors?

  • 写回答

1条回答 默认 最新

  • douque9815 2017-03-26 14:21
    关注

    At the end, the problem was Filezilla. It was transfering the file wrong. had to retry many times but at the end it solved it

    评论

报告相同问题?

悬赏问题

  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c