Skip Navigation

Resolved by author

Resolved in: Codevz Plus 4.9.7.1

Topic Tags: Compatibility

Overview of the issue

You may encounter fatal errors when using WPML alongside the Codevz Plus plugin. The issue arises due to Codevz Plus plugin’s configuration that blocks external requests to certain domains, including wpml.org, which WPML uses for server communication.

PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in .../wp-content/plugins/sitepress-multilingual-cms/classes/ATE/API/ClonedSites/ApiCommunication.php:30

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open …/wp-content/plugins/codevz-plus/codevz-plus.php file.
  • Look for line 270.
  • In this part of the code:
    1
    2
    3
    4
    5
    ...
                'akismet.com',
                'contactform7.com',
                'wpml.org'
            ];
  • Comment the line blocking WPML:
    1
    2
    3
    4
    5
    ...
                'akismet.com',
                'contactform7.com',
                //'wpml.org'
            ];