Describe the bug
When I save related products to product all working fine. But when I refresh product page I get an error. I mean that "ref" in the related product. I receive that information from my template support:
"Sorry, I really don't know this problem. When I disable the friendly URL option on your site, it works, see the attachment. I think it is related to the UTF-8 character code in your site, because I see you have some product title with non-UTF-8 characters. But I don't know how to check this problem."
To Reproduce
Steps to reproduce the behavior:
Screenshots

Additionnal information
PrestaShop version: 1.7.5.1
PHP version: 7.2
Hi @Ortezjan,
I did not manage to reproduce the issue with PS1.7.5.1.

You need to enable debug mode in your store and debug request which is sent for product save in your browser, using DevTools, so:
Thanks to check & feedback.
This error showing when i refresh the product page. I have no idea i doing good but:


@Ortezjan, in your second screenshot, could you please try to click on the error, you should see the error message in "Response" or "Preview" tab
Thanks!
I can't click on that.

@Ortezjan, you should click on the error as described in this screenshot

thanks to check & feedback
In text file is all information from response.
(https://github.com/PrestaShop/PrestaShop/files/3108668/Nowy.dokument.tekstowy.txt)
And on FO related products display normally:

@Ortezjan, no, your file doesn't contain the errors.
Could you please navigate to you BO => Design => Image Settings => Click on the "Regenerate thumbnails" button
Thanks to check & feedback.
Same thing.
Only when I change URL settings these related products show up.

@Ortezjan,
Could you please try to regenerate the file .htaccess
Thanks to check and feedback
Done but same thing.
@Ortezjan, We need to retrieve the PHP error log and the debug mode report in order to find out what's wrong.
Don't you know how to get this information? Please read the following article:
http://build.prestashop.com/howtos/misc/how-to-create-bug-report/
Thanks!
I turn on PHP error:
Parse error: syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH) in /home/barnmobleg/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php on line 201
I have it shared hosting in OVH company and I don't have access to PHP logs and server logs.
@Ortezjan,
Could you please follow this link: https://github.com/PrestaShop/php-ps-info
phppsinfo file provides an equivalent to the phpinfo() function that reports PrestaShop Requirements information about the PHP/MySQL/Apache environment and offers suggestions for improvement.

Thanks to check and feedback.
I upload this file and go to https://www.barn-mobler.se/phppsinfo.php and I try to login with default login and password but I can't. Nothing happened.
I should upload just "phppsinfo.php" file?

@Ortezjan, Thanks to check with this file a feedback
phppsinfo.php.zip


@Ortezjan, the error "Parse Error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE)" ... happens when you have a PHP older than 5.5 which is not your case.
Hav you any feedbacks from your hosting?
Thanks!
Nope. I have no idea about what I should ask them.
@Ortezjan, that's ok, you can ask them about your error displayed.
If you put php -v in your terminal what is the exact information provided?
Thanks!
I don't have a possibility to open terminal.
@Ortezjan, could you please check that the mbstring is installed on your server.

Thanks!
Hi @Ortezjan,
Since we had no news from you for more than 30 days, I'll close this ticket. Feel free to open another one if you can give specific details.
Thanks!
I Have exactly the same issue.
So I see the broblem isn't solved, decide to continue thread.
when I disable friendly URLs related products show up.
In phppsinfo got all green except yellow PHP version, mine is 5.6.38 but it shouldn't matter cause required is 5.6 (Ortezjan got 7.2 and problem also occurred).
I have in phpinfo mbstring set as above except oniguruma version it not appears in mine.
I have no access to PHP log but in Apache error log I have:
AH01071: Got error 'Primary script unknown\n', referer: https://admirsklep.pl/admin516ncnsa4/index.php/sell/catalog/products/1?_token=TOjqsgkbEghAGWICydVkBAx6QzciwWrUL_41eqOJRKU
PHP version 5.6.38
Presta Shop version: 1.7.6.1
@kazzo, the issue created here: #16799
I have the same problem.
I read that it might be a server problem, but it doesn't make sense.
PHP version 7.2.27
Prestashop 1.7.6.2
Hi @Nerque,
This issue is currently closed, can you open a new one with more information about your configuration.
Thanks!