Hello Malae
Thanks for your report. I’ll look into it tonight.
Best regards,
Demis
Hello Malae
The issue should be fixed with version 0.7.6. Can you confirm, please?
Thanks again for the issue report and a lot of thanks for using this plugin.
Regards,
Demis
Hello Demis,
Thank you for reply. I did not find any code change in the class-backtop.php file, other than the comment on line 107. Perhaps you changed code in other files.
The notices are still appearing, now for lines 108 and 109.
I tried adding line 108:
if(isset($config['bt_size']) && isset($config['bt_arrow_color'])) {
and added a closing curly brace }
at the bottom.
It seems to work. What do you think?
Hello Malae
Thanks for your effort. It’s not a matter of a brace. The issue is that after I changed some backtop settings, the changed options were not populated with their default values, hence the notices.
To get rid of the notices, please try the following:
Go to the Nicescroll settings page, and just save the options without changing anything.
This should set the default values for the missing options. After that, you can customize it as needed. Repeat for the backend.
If this should fail, simply enter the desired values for the settings you get notices for, and the issue is gone.
I hope this helps!
And I’m sorry for this inconvenience.
Best regards,
Demis
Hello Demis,
Thanks for your reply. I mentioned adding the closing brace, because I had an opening brace at the end of the line of code that I added.
I should have realised that the issue might be related to the saving of the settings, because I had other transitory undefined index notices for another file on a different site.
I see that you have updated again and all is well. No need for apologies, with my limited coding abilities, I am in awe of the coding that you have used to produce this plugin.
Hello Malae
I’m glad that it works as expected again.
Thanks for using my plugin 🙂
Regards,
Demis