Fatal error: Declaration of CMB2_Type_File::render() must be compatible
-
I resolved another issue modifing line 15 in file {siteurl}/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/types/CMB2_Type_File.php
At line 15 you wrote:
public function render() {
This causes WordPress throw a Fatal Error on backend (Fatal error: Declaration of CMB2_Type_File::render() must be compatible with CMB2_Type_Text::render($args = Array) in {siteurl}/wp-content/plugins/kiwi-social-share/includes/lib/cmb2/includes/types/CMB2_Type_File.php on line 13).
Change this line as follows:
public function render($args = array()) {
Thanks,
regards.Katia
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error: Declaration of CMB2_Type_File::render() must be compatible’ is closed to new replies.