CRITICAL Uncaught Error: Call to a member function is_available() on null
-
When calling this function:
$translation = $translator->process_strings(array($value),$target_language);And making sure that the variable $value is a string, not empty and not null and making sure the variable $target_language contains a valid value we still get this critical error every now and than:
2022-03-28T12:14:47+00:00 CRITICAL Uncaught Error: Call to a member function is_available() on null in /home/clients/edb42069f88ddac51e5a43b0da358b52/sites/bollybellyshop.com/wp-content/plugins/translatepress-multilingual/includes/class-translation-render.php:1365
Could you tell us how to prevent this from happening?
- The topic ‘CRITICAL Uncaught Error: Call to a member function is_available() on null’ is closed to new replies.