Single Product View returns a blank page?again?
Auteur : Terence G.
Visité 833,
Followers 1,
Partagé 0
PROBLEM:
Single Product View is not displaying.
WHAT I HAVE CHECKED:
.htaccess file to see if that is in order... looks fine. (as this was the problem on the last round)
PHP version is up to date.
I need this resolved soonest as I have a live email campaign that went out yesterday refering to the Products for reviews etc. The single product view was operating before I sent out the Bulk Email.
Posté le
Auteur
here is an image of possible error causing the problem.
Auteur
jquery.js?2023-3-5-0:2
GET https://www.dialacontractor.co.za/cart/x5cart.php?action=crtvrs 500 (Internal Server Error)
&
x5cartengine.js?2023-3-5-0:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getIdBySlug')
at x5cartengine.js?2023-3-5-0:1:151668
Which PHP version. 8.x ?
Just to check if is it the cause of your issue, have you tried with 7.x ...
Auteur
@Axel in the previous post with the same subject header - we address and moved to the lastest supported PHP version. It was also established that there was a line in htaccess that was preventing the single product view from displaying - which i corrected and replaced.
So to answer your question : we have The latest stable version of PHP is 8.2.12, which was working and displaying the single page view.. surely a few days/weeks later the PHP version upgrade would not suddenly create this problem.
Auteur
Started drilling down on last update and any possible change that caused this error this morning, when i checked the Single Page is displaying again.
I will assume it was a typical 500.. it is working now and thats all that matters.