Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Fatal error: Declaration of CMB2_Type_File::render() must be compatible

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 59525

Trending Articles