Hi: I’m using Omeka 2.6.1 and I get the following warning on my Neatline plugin:
Warning: Declaration of NeatlineRecord::save() should be compatible with Neatline_Row_Expandable::save($throwIfInvalid = false) in /home/byrononl/public_html/plugins/Neatline/models/NeatlineRecord.php on line 10
295
The Neatline works fine. How do I kale the warning disappear?
This is not important, but the config of your php server is more strict than the developer. If you want to remove it, add the argument $throwIfInvalid = false in the declaration of the line 10 of the file NeatlineRecord.php.
Thank you, Daniel! I will give it a try. Will this code work for a similar warning using the LC Suggest plugin, which I forgot to mention in my previous message?
Right. I appreciate very much your response and effort to help! I have no coding skills and often find myself involved in such issues when other very different matters compel my attention. Life intervenes. I will verify for updates and come back to you for the coding.
Another question. I had the option to overwrite the old Neatline with the new, and I chose to overwrite the files. Do I stand the chance of losing some of the data I recorded in the previous version of Neatline? I’m halfway uploading the new Neatline into my Omeka folder and so far I haven’t seen any negative effect.
When you install a plugin, you should never modify files inside it, so it will be very simple to upgrade: replace everything. If you modify files, you have to check them first. The good practice is to copy the files of the folder view/public and view/share in your theme, where you can do all you want without fear to lose work.