You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! When i try to upload an attachment on a multi-language website with ACF, in the network call, after dragging a file in the media explorer, i get the following message "Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'acf_qtranslate_acf_5_image' does not have a method 'wp_prepare_attachment_for_js' in /var/www/html/wp-includes/class-wp-hook.php on line 288 ".
Resolved by commenting the line acf()->fields->register_field_type(new acf_qtranslate_acf_5_image($this->plugin));
in modules/acf/src/acf_5/acf.php:39
I don't know if can be a common issue! :)
My config: wp 5.3.1, acf pro 5.8.7, qtranslatext 5.3.1
The text was updated successfully, but these errors were encountered:
@stefano88ita this should have been solved in #718 released with qTranslate-XT 3.6.2. We are now in 3.7.1.
It seems other people have the problem #783 and i don't see why. Are you the problem comes from qTranslate-XT? Could it be that you are using an old qTranslate-X/XT or the old legacy plugin acf-qtranslate?
Hi! When i try to upload an attachment on a multi-language website with ACF, in the network call, after dragging a file in the media explorer, i get the following message "Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'acf_qtranslate_acf_5_image' does not have a method 'wp_prepare_attachment_for_js' in /var/www/html/wp-includes/class-wp-hook.php on line 288
".
Resolved by commenting the line acf()->fields->register_field_type(new acf_qtranslate_acf_5_image($this->plugin));
in modules/acf/src/acf_5/acf.php:39
I don't know if can be a common issue! :)
My config: wp 5.3.1, acf pro 5.8.7, qtranslatext 5.3.1
The text was updated successfully, but these errors were encountered: