i had backup from last year and i got it back from single.php
what should i do now?
thanks a lot for ur help

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Please take the backup of your current original single.php file from your theme.
After that you should add that single.php file (form your old backup) to your current theme and check if you able to see the frontend single page working as expected.
Hello and thanks again.
i did what you have said. but i cant see the post yet or anthing

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
When I checked I see the following fatal error:
Fatal error: Uncaught Error: Call to undefined function cjpaco_package_content() in /home2/willicf7/public_html/wp-content/themes/accelerate/single.php:19 Stack trace: #0 /home2/willicf7/public_html/wp-includes/template-loader.php(106): include() #1 /home2/willicf7/public_html/wp-blog-header.php(19): require_once('/home2/willicf7...') #2 /home2/willicf7/public_html/index.php(238): require('/home2/willicf7...') #3 {main} thrown in /home2/willicf7/public_html/wp-content/themes/accelerate/single.php on line 19
There must be function cjpaco_package_content() available either with your old theme's functions.php file or somewhere else I do not know as I do not know the site history.
Can you please share your old theme files zip backup with me? You should upload it on any file sharing service and share the link to download the zip.
i have it as a zip
i can share via email or here

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
You can share it via google drive and share the link to download it.

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
When I try to download the zip you shared using google drive it does not download it shows message that there is a virus detected.
Can you please just scan your zip for virus and then upload it again and send me the copy to download?
hidden link
could you check now please otherwise i can uplaod it here

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Ok - I find a way to download your backup theme from FTP but there are many issues and we are not allowed to debug themes.
The only thing I would say is, rather dependent on your single.php file, I suggest you should create content template for your single post for your post type from Toolset => Content Templates and where you need help you can raise a ticket here.
Please check the following doc for more information:
- https://toolset.com/course-lesson/creating-templates-to-display-custom-posts/
- https://toolset.com/course-lesson/styling-single-post-templates/