-
Album pages – fatal error
chaskacreativeParticipantHi –
We’re almost ready to launch and we just noticed that our album pages are not being displayed like they were before. Would you be able to please figure out what is wrong?We’re getting this error message:
“Fatal error: Uncaught Error: Call to undefined function wc_print_notices() in /home1/taireva/public_html/wp-content/themes/playbit/single-playbit_album.php:27 Stack trace: #0 /home1/taireva/public_html/wp-includes/template-loader.php(78): include() #1 /home1/taireva/public_html/wp-blog-header.php(19): require_once(‘/home1/taireva/…’) #2 /home1/taireva/public_html/index.php(17): require(‘/home1/taireva/…’) #3 {main} thrown in /home1/taireva/public_html/wp-content/themes/playbit/single-playbit_album.php on line 27
The site is experiencing technical difficulties.”Login:
URL: https://mahea.com/dashboard
user: developer
passw: L9jVkF7971eVVup@Ijm2uHPW
(theme: Playbit)Thank you a ton!
3 RepliesAdnan ShawkatKeymasterCan you please check where you are using PHP version 5.6 or higher? I think you are using a lower version for which the error is showing.
chaskacreativeParticipantThanks but the php version hasn’t changed at all and the albums were working fine last time I checked them.
The site uses php version 7.1. Here’s more php info for our site: http://mahea.com/phpinfo.php
Hope you can help us so we can launch the site.
Thank youAdnan ShawkatKeymasterHey there,
I think it’s your server who’s causing such issues. If you can transfer the new single-playbit_album.php file to your child theme then it’d cause no issue from further on. I’ve fixed the issue as it was happening just because of your server. Also transfer the single-playbit_gallery.php file in to your child theme folder so that whenever a new update comes for the theme you don’t have to worry about the pagination & broken things. Check the screenshot: http://prntscr.com/nutjst
Just copy these 2 files to your child theme & that’d be all.
You must be logged in to reply to this topic.