Fatal error: Can't use method return value in write context in (word-press plugin)

Fatal error: Can't use method return value in write context in (word-press plugin)

我刚刚在我的 word-press 网站上安装了一个插件,现在我收到了这条消息:

致命错误:无法在第 194 行

的 /home2/royaldlx/public_html/wp-content/plugins/motopress-hotel-booking-lite/includes/admin/manage-cpt-pages/booking-manage-cpt-page.php 的写入上下文中使用方法 return 值

发生了什么事?有什么办法可以解决吗?先感谢您。 代码下方:

 if ( !empty( $customer->getEmail() ) ) {
                                $customerInfo .= '<br />'
                                    . '<a href="mailto:' . esc_attr( $customer->getEmail() ) . '">'
                                        . esc_html( $customer->getEmail() )
                                    . '</a>';
                            }

有两个冲突。要么你没有正确安装你的wordpress,要么你的插件有冲突,尝试更改插件或重新安装wordpress。