• Hello,
    your function set_current_site_lang checks if REST_API is defined but it doesnt check if it is defined as true. So the plugin doesnt work if REST_API is defined as false.

  • The topic ‘Error in classes/main.php’ is closed to new replies.