James,
remove any unauthorised links I post below if not in agreement with the forum policies:
I already tried these
https://wordpress.stackexchange.com/questions/246064/plugin-php-file-gives-error-500
https://www.elegantthemes.com/blog/tips-tricks/how-to-fix-the-500-internal-server-error-on-your-wordpress-website
define (‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, true);
in wp-config.php file
the log file is not the easiest I have ever read but I couldn’t find anything suspicious (nothing that could eventually be explained by a 403 error for example – see below – though mine is 500).
I also renamed .htaccess to .htaccess.bak to have it regenerated.
I changed the theme with no success.
I didn’t try to change the PHP memory limit but that shouldn’t be a problem since my site is quite small and the test page I linked in the original post (https://givaprova.altervista.org/product/prova/) is from a test site with basically nothing on it expect woocommerce and just a single simple product created with the same.
I am not asking the hosting provider the log since it is too much of an hassle.
Anyway, I’d like to point to another reference here
https://wordpress.stackexchange.com/questions/247039/how-do-i-fix-the-sorry-you-are-not-allowed-to-access-this-page-error-i-get-on
“There is an error with the internal core routing mechanism, and it receives a result it doesn’t understand, can’t process, or maps to an unrecognized schema”
and
“Check the network panel in your browser web inspector and check the error code for the request. If it is a 403 (it should be), then the issue is either the page doesn’t actually exist, or the user lacks permissions. If it is a 500 (it should not be), then it means that the server encountered an error and fell back to the standard exit procedure. If it is a 500, you have a bad plugin, theme, or database issue to handle. If it is a 403, it is most likely one of a bad update, incorrect configuration, or legitimate access denied”
give an upvote to mopsyd because he is one trying to explain more deeply inside WordPress (I can’t upvote since I changed several accounts and I never gained required reputation)
Checking File Permissions is possibly the last chance but it sounds really weird.
-
This reply was modified 6 years ago by albio.
-
This reply was modified 6 years ago by albio.
-
This reply was modified 6 years ago by albio.