分类:除错日志

解决WordPress主题的几个错误

本文解决【WP_Widget调用的构造函数已废弃】、【Methods with the same name as their class will not be constructors in a future version of PHP; xxx has a deprecated constructor.】、【wp_deregister_script的调用方法不正确】、【caller_get_posts已被废弃】、【不建议使用get_currentuserinfo】等几个错误。

  丘山   5年前 (2019-05-08)   0评论   0

解决SublimeText安装Package的权限错误

长久以来发现SublimeText安装Package会有权限错误,必须以管理员身份重启才能安装成功,却不知原因,因为平时并不经常安装新包,也就忍了。最近频繁安装新包,趁机一鼓作气将问题解决了,原来是环境变量的问题。

  丘山   5年前 (2019-05-07)   0评论   0