Hello,
Here’s the customization documentation – https://docs.sproutinvoices.com/article/38-customizing-templates
It should help guide you with numerous solutions to hide/remove the Notes section.
If the issue is that the notes section shows without any text to display check to make sure you don’t have any default notes, and that the fields are completely empty.
Hi Dan,
I used the customization snippets using code snippet plugin but there is one snippet on ur site which I added to code snippet next moment it started showing this
”
Fatal error: Uncaught Error: Class ‘SI_Invoice’ not found in /home/h7cc1beh25ov/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(361) : eval()’d code:5 Stack trace: #0 /home/h7cc1beh25ov/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(361): eval() #1 /home/h7cc1beh25ov/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(450): execute_snippet(‘// create the p…’, 13) #2 /home/h7cc1beh25ov/public_html/wp-includes/class-wp-hook.php(286): execute_active_snippets(”) #3 /home/h7cc1beh25ov/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /home/h7cc1beh25ov/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #5 /home/h7cc1beh25ov/public_html/wp-settings.php(394): do_action(‘plugins_loaded’) #6 /home/h7cc1beh25ov/public_html/wp-config.php(104): require_once(‘/home/h7cc1beh2…’) #7 /home/h7cc1beh25ov/public_html/wp-load.php(37): require_once(‘/home/h7cc1beh2…’) #8 /home/h7cc1beh25ov/public_html/wp-admin/admin.php(34): require_onc in /home/h7cc1beh25ov/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(361) : eval()’d code on line 5
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”
How to solve this?
Regards
Prashant…
Hello,
Sorry to hear that. Some code snippets are meant to be examples or starters for larger customizations and not meant to drop-in.
What code snippet did you use that caused this error.
Hi Dan,
link to the code which caused the error is mentioned in the previous message. Please, check.
Code snippet author replied that “class named SI_Invoice does not exist.” that is causing the issue.
Thanks!
Prashant… 🙂
-
This reply was modified 3 years, 9 months ago by
Prashant.
Hi Prashant,
Apologies, I didn’t notice the link because it was stripped from the email we got for the support request.
So that isn’t really a code snippet you just put into your functions.php file. Instead it’s a script to use in a customization, as an example.
Hope that makes sense.
Kind Regards,
Oh my bad.
Thanks Dan. We accessed cpanel to reach to the snippet and will work accordingly.
Site is On again.
Thanks for the reply and Thanks a ton for the wonderful plugin ‘SI’.
Prashant… 🙂