在我的WordPress页面上,我在更新到PHP 7.3后使用插件occupancy plan
"https://wordpress.org/plugins/occupancyplan/"WordPress给出以下错误消息:
警告:在 中遇到非数字值 /homepages/XX/XXXXXXXXXXX/htdocs/XXXXXXXXXX/wp-content/plugins/occupancyplan/occupancy_plan_classes.php 4 - 38 号线和 620、641、657 路
如何解决问题?
可能
有点晚了,但请尝试将此验证添加到具有该错误的每一行!
//fix issue with tax when it's not selected it
IF(empty ($ variable name)){
/* null */
}else{
$return = whatever was previously at the line
最后你必须归还一些东西
}
return floatval( $return );
祝你好运!