This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 9 replies, has 2 voices.

Last updated by Jamal 7 months, 1 week ago.

Assigned support staff: Jamal.

Author Posts
March 7, 2019 at 5:58 am #3282395

ilyaA-3

We've installed and configured several languages on our multi-site (directory based). The main site is working fine. hidden link

However, all sub-site pages (hidden link) are showing

[This page isn’t working
hidden link is currently unable to handle this request.
HTTP ERROR 500]

Note: Currently we only need translations of the main site, so we haven't created any language variations for the sub-site. We tried both main site-only plugin activation as well as network activation.

For debug information we activated the plugin on one of the subsites and took it from there.

Please advise ASAP - this URGENT - it's a live site.

March 7, 2019 at 6:01 pm #3286287

ilyaA-3

FYI - WP memory limits are set as recommended

March 8, 2019 at 4:48 pm #3294390

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Thank you for contacting WPML Support. Our apologies for the late reply.

As you are having 500 errors, there would be something logged in the log files. Would you like to activate PHP debugging ?
1. Please follow the debugging information provided here: http://wpml.org/documentation/support/debugging-wpml/ .
2. Repeat the action of creating the problem(Visit a page that generates the error).
3. Share the debug.log (log file inside the /wp-content/ directory) here or using DropBox or GoogleDrive.

Looking forward to your reply.

Best regards,
Jamal
WPML Support

March 8, 2019 at 4:56 pm #3294444

ilyaA-3

Here you go ... note that this problem began after installing the plugin ... by the way, the admin side is fine.

March 9, 2019 at 3:19 pm #3298492

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

My apologies for the late reply. According to this log, Fatal Errors are coming form this two plugins.
- WAT in "WAT/includes/wat.class.php line 711"
- Paid Memberships Pro - Custom Post Type Add On in "pmpro-cpt-master/pmpro-cpt.php line 25"

Can you please deactivate these plugins and test again ?

Best regards,
Jamal
WPML Support

March 9, 2019 at 5:53 pm #3298748

ilyaA-3

Removing Paid Membership Pro did solve the problem - thank you! Fortunately we did not need that plugin anymore. However, we still need the WAT plugin - is there a conflict with yours? See updated debug file

March 9, 2019 at 5:54 pm #3298750

ilyaA-3

[09-Mar-2019 17:42:24 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:24 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:24 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:24 UTC] PHP Notice: Undefined index: wpmf_display_media in /var/www/sites/wp-content/plugins/wp-media-folder/class/wpmf-display-own-media.php on line 27
[09-Mar-2019 17:42:24 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php:711
Stack trace:
#0 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(722): WAT->wps_get_icons()
#1 /var/www/sites/wp-content/plugins/WAT/assets/css/wat.css.php(130): WAT->wpsiconStyles()
#2 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(109): require_once('/var/www/sites/...')
#3 /var/www/sites/wp-includes/class-wp-hook.php(286): WAT->wpshapeOptionscss('')
#4 /var/www/sites/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /var/www/sites/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /var/www/sites/wp-admin/admin-ajax.php(167): do_action('wp_ajax_wpshape...')
#7 {main}
thrown in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php on line 711
[09-Mar-2019 17:42:43 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:43 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:43 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:43 UTC] PHP Notice: Undefined index: wpmf_display_media in /var/www/sites/wp-content/plugins/wp-media-folder/class/wpmf-display-own-media.php on line 27
[09-Mar-2019 17:42:44 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php:711
Stack trace:
#0 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(722): WAT->wps_get_icons()
#1 /var/www/sites/wp-content/plugins/WAT/assets/css/wat.css.php(130): WAT->wpsiconStyles()
#2 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(109): require_once('/var/www/sites/...')
#3 /var/www/sites/wp-includes/class-wp-hook.php(286): WAT->wpshapeOptionscss('')
#4 /var/www/sites/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /var/www/sites/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /var/www/sites/wp-admin/admin-ajax.php(167): do_action('wp_ajax_wpshape...')
#7 {main}
thrown in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php on line 711
[09-Mar-2019 17:42:45 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:45 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:45 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:45 UTC] PHP Notice: Undefined index: wpmf_display_media in /var/www/sites/wp-content/plugins/wp-media-folder/class/wpmf-display-own-media.php on line 27
[09-Mar-2019 17:42:48 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php:711
Stack trace:
#0 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(722): WAT->wps_get_icons()
#1 /var/www/sites/wp-content/plugins/WAT/assets/css/wat.css.php(130): WAT->wpsiconStyles()
#2 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(109): require_once('/var/www/sites/...')
#3 /var/www/sites/wp-includes/class-wp-hook.php(286): WAT->wpshapeOptionscss('')
#4 /var/www/sites/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /var/www/sites/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /var/www/sites/wp-admin/admin-ajax.php(167): do_action('wp_ajax_wpshape...')
#7 {main}
thrown in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php on line 711
[09-Mar-2019 17:42:51 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:51 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:51 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:51 UTC] PHP Notice: Undefined index: wpmf_display_media in /var/www/sites/wp-content/plugins/wp-media-folder/class/wpmf-display-own-media.php on line 27
[09-Mar-2019 17:42:51 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php:711
Stack trace:
#0 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(722): WAT->wps_get_icons()
#1 /var/www/sites/wp-content/plugins/WAT/assets/css/wat.css.php(130): WAT->wpsiconStyles()
#2 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(109): require_once('/var/www/sites/...')
#3 /var/www/sites/wp-includes/class-wp-hook.php(286): WAT->wpshapeOptionscss('')
#4 /var/www/sites/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /var/www/sites/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /var/www/sites/wp-admin/admin-ajax.php(167): do_action('wp_ajax_wpshape...')
#7 {main}
thrown in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php on line 711
[09-Mar-2019 17:42:57 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:57 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:57 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:42:57 UTC] PHP Notice: Undefined index: wpmf_display_media in /var/www/sites/wp-content/plugins/wp-media-folder/class/wpmf-display-own-media.php on line 27
[09-Mar-2019 17:42:57 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php:711
Stack trace:
#0 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(722): WAT->wps_get_icons()
#1 /var/www/sites/wp-content/plugins/WAT/assets/css/wat.css.php(130): WAT->wpsiconStyles()
#2 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(109): require_once('/var/www/sites/...')
#3 /var/www/sites/wp-includes/class-wp-hook.php(286): WAT->wpshapeOptionscss('')
#4 /var/www/sites/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /var/www/sites/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /var/www/sites/wp-admin/admin-ajax.php(167): do_action('wp_ajax_wpshape...')
#7 {main}
thrown in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php on line 711
[09-Mar-2019 17:43:09 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:43:09 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:43:09 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:43:09 UTC] PHP Notice: Undefined index: wpmf_display_media in /var/www/sites/wp-content/plugins/wp-media-folder/class/wpmf-display-own-media.php on line 27
[09-Mar-2019 17:43:11 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php:711
Stack trace:
#0 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(722): WAT->wps_get_icons()
#1 /var/www/sites/wp-content/plugins/WAT/assets/css/wat.css.php(130): WAT->wpsiconStyles()
#2 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(109): require_once('/var/www/sites/...')
#3 /var/www/sites/wp-includes/class-wp-hook.php(286): WAT->wpshapeOptionscss('')
#4 /var/www/sites/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /var/www/sites/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /var/www/sites/wp-admin/admin-ajax.php(167): do_action('wp_ajax_wpshape...')
#7 {main}
thrown in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php on line 711
[09-Mar-2019 17:44:11 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:44:11 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:44:11 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/sites/wp-content/plugins/essential-grid/admin/essential-grid-admin.class.php on line 195
[09-Mar-2019 17:44:11 UTC] PHP Notice: Undefined index: wpmf_display_media in /var/www/sites/wp-content/plugins/wp-media-folder/class/wpmf-display-own-media.php on line 27
[09-Mar-2019 17:44:12 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php:711
Stack trace:
#0 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(722): WAT->wps_get_icons()
#1 /var/www/sites/wp-content/plugins/WAT/assets/css/wat.css.php(130): WAT->wpsiconStyles()
#2 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(109): require_once('/var/www/sites/...')
#3 /var/www/sites/wp-includes/class-wp-hook.php(286): WAT->wpshapeOptionscss('')
#4 /var/www/sites/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /var/www/sites/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /var/www/sites/wp-admin/admin-ajax.php(167): do_action('wp_ajax_wpshape...')
#7 {main}
thrown in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php on line 711

March 9, 2019 at 6:03 pm #3298774

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hi,

According to the debug log, the stack trace of the error does not involve a WPML file.

[09-Mar-2019 17:42:44 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php:711
Stack trace:
#0 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(722): WAT->wps_get_icons()
#1 /var/www/sites/wp-content/plugins/WAT/assets/css/wat.css.php(130): WAT->wpsiconStyles()
#2 /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php(109): require_once('/var/www/sites/...')
#3 /var/www/sites/wp-includes/class-wp-hook.php(286): WAT->wpshapeOptionscss('')
#4 /var/www/sites/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#5 /var/www/sites/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /var/www/sites/wp-admin/admin-ajax.php(167): do_action('wp_ajax_wpshape...')
#7 {main}
thrown in /var/www/sites/wp-content/plugins/WAT/includes/wat.class.php on line 711

Does this error happen only when WPML is activated ? Can you deactivate WPML and test again ?
If it happens only when WPML is activated, we can say it is a compatibility issue. In that case, i will create a clean server and ask you to upload the plugin there for further debugging.

Looking forward to you reply.

Best regards,
Jamal
WPML Support

March 10, 2019 at 7:29 pm #3306441

ilyaA-3

The WAT plugin is quite old, so most likely it has nothing to do with WPML - thanks for your help.

March 11, 2019 at 11:25 am #3310183

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Thank you for your feedback. Please let me know if this means that the issue is now resolved, or should we continue our investigation ?

Best regards,
Jamal
WPML Support

The topic ‘[Closed] Multi-site Problem’ is closed to new replies.