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 15 replies, has 2 voices.

Last updated by Bigul 1 month ago.

Assigned support staff: Bigul.

Author Posts
September 5, 2019 at 2:32 am

ivanL-5

I am trying to: activate PHP7

Link to a page where the issue can be seen:

I expected to see: imagine loading and a page

Instead, I got: some images does not load, some pages instead show, show a blank page

September 5, 2019 at 11:57 am #4518923

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve these issues.

This may be happening because of the older version of WPML. While accessing WPML pages it shows The site is experiencing technical difficulties. Please check your site admin email inbox for instructions error.

So please upgrade to the latest version of WPML(4.2.7.1) after a full site backup and make sure the issue is existing or not.

If the issue exists, please share with me the WordPress debug.log (not WPML debug information). Please check this page for instructions https://wpml.org/documentation/support/debugging-wpml/

To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check you are getting any errors or warning related to WPML in the log file.

If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

--
Thanks!

Bigul

September 12, 2019 at 7:30 am #4558869

ivanL-5

Here is the debug.log info:

[12-Sep-2019 07:23:11 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:23:11 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 28672 bytes) in /home/luckieph/public_html/wp-includes/pomo/streams.php on line 163
[12-Sep-2019 07:23:19 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:23:19 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:24:39 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:24:39 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 28672 bytes) in /home/luckieph/public_html/wp-includes/pomo/streams.php on line 163
[12-Sep-2019 07:25:22 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/luckieph/public_html/wp-content/themes/prophoto7/src/php/prophoto/Request.php on line 1
[12-Sep-2019 07:25:23 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/wp-db.php on line 3042
[12-Sep-2019 07:25:28 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:25:28 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:25:33 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:25:33 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:26:15 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/luckieph/public_html/wp-content/themes/prophoto7/src/php/prophoto/Request.php on line 1
[12-Sep-2019 07:26:15 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/wp-db.php on line 3042
[12-Sep-2019 07:26:39 UTC] PHP Fatal error: Class 'ProPhoto\Core\Model\Taxonomy\Taxonomy' not found in /home/luckieph/public_html/wp-content/themes/prophoto7/src/php/prophoto/Infrastructure/WordPress/Wpml/Query/PackageQueryAggregate.php on line 37
[12-Sep-2019 07:26:52 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:26:52 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:26:52 UTC] PHP Fatal error: Class 'ProPhoto\Core\Model\Taxonomy\Taxonomy' not found in /home/luckieph/public_html/wp-content/themes/prophoto7/src/php/prophoto/Infrastructure/WordPress/Wpml/Query/PackageQueryAggregate.php on line 37
[12-Sep-2019 07:26:52 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:26:52 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /home/luckieph/public_html/wp-includes/pomo/mo.php on line 323
[12-Sep-2019 07:27:00 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/luckieph/public_html/wp-content/themes/prophoto7/src/php/services/middleware.php on line 55
[12-Sep-2019 07:27:00 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/luckieph/public_html/wp-includes/class-wp-fatal-error-handler.php on line 45
[12-Sep-2019 07:27:01 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/luckieph/public_html/wp-content/themes/prophoto7/src/php/services/middleware.php on line 55
[12-Sep-2019 07:27:01 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/luckieph/public_html/wp-includes/class-wp-fatal-error-handler.php on line 45

September 12, 2019 at 7:33 am #4558889

ivanL-5

I could not use the pastebin website, not sure why, but I think the info is short.

I was checking after updating all the WPML plugins and I have the same problem, I can open the WP admin module, and my website does not work in the secondary language (Spanish)

September 12, 2019 at 7:35 am #4558895

ivanL-5

I temporary move the PHP to 5.6 because when in PHP seven is when I get the problems

September 12, 2019 at 12:08 pm #4560799

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. Have you changed the PHP version to 5.6? Because I am still getting the error. Which version of PHP(would like to know the exact version number of PHP 7) you are using now.

Please increase *WP Memory Limit* to *256*(the minimum required memory limit for WPML is *128*) and make sure the issue is existing or not. Please check the following links for more details

https://wpml.org/home/minimum-requirements/

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

Maybe you are facing this issue because of compatibility conflicts. So to make sure if possible, please do the following steps.

a) Backup your site first
b) Switch for a moment to a WordPress default theme like 2017
c) Deactivate all the plugins that are not related to WPML
d) If the issue is gone, activate the plugin one by one to see with which one there is an interaction issue

--
Thanks!

Bigul

September 12, 2019 at 10:31 pm #4564411

ivanL-5

I did all you mentioned, now I am running PHP 7.2 and got this message:

WPML can't run normally. There is an installation or server configuration problem. Show details
AJAX Error: Internal Server Error [500]
URL:hidden link

The problem is with WPML at the moment I activate it only with prophoto 7 template

September 13, 2019 at 9:01 am #4566783

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. Please check you are getting any error in the server error log(Apache) while having this issue.

Which type of hosting you are using now, shared or VPS or Dedicated?

--
Thanks!

Bigul

September 14, 2019 at 6:10 am #4572275

ivanL-5

this is the type of hosting VPS

How do I check the Server error log in apache?

September 14, 2019 at 3:59 pm #4572947

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. May you have to contact the hosting service provider to get the Server error log in Apache.

We would like to debug the issue further. So please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server.

--
Thanks!

Bigul

September 16, 2019 at 1:53 am #4575591

ivanL-5

YES PLEASE DUPLICATE MY SITE

September 16, 2019 at 2:55 pm #4581685

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for your permission. I can replicate the issue on my local server with your Duplicator copy and also in a fresh installation. It looks like a compatibility issue between WPML and ProPhoto 7. So I have escalated the ticket our compatibility team for further debugging.

Just to make sure, have you made any changes in the ProPhoto 7 theme files?

--
Thanks!

Bigul

September 18, 2019 at 4:17 am #4592393

ivanL-5

I didn't made any change on Prophoto 7, this problem came when I upgrade form Prophoto 6 to 7

September 18, 2019 at 9:21 am #4594309

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for the updates. For your kind information, ProPhoto 7 theme is not compatible with WPML. Their developers are still working on WPML integration. Please check the following URLs for more details.

hidden link

hidden link

We have tried to fix the following error, but after that, we are getting more fatal errors. So it is hard to fix from our end.

PHP Fatal error:  Uncaught Error: Class 'ProPhoto\Core\Model\Taxonomy\Taxonomy' not found in C:\xampp\htdocs\luckiephotography\wp-content\themes\prophoto7\src\php\prophoto\Infrastructure\WordPress\Wpml\Query\PackageQueryAggregate.php:37

Therefore sorry there is no easy workaround for this case and we have to wait for ProPhoto 7 theme author to complete the WPML integration.

--
Thanks!

Bigul

September 19, 2019 at 7:43 am #4602053

ivanL-5

thank you for your time and big effort, cheers!!!!