How do I fix this?
Warning: Declaration of NeatlineExhibit::beforeSave() should be compatible with Omeka_Record_AbstractRecord::beforeSave($args) in /home/norumbe1/public_html/plugins/Neatline/models/NeatlineExhibit.php on line 10
Do I need to go into the PHP, or is there a solution that I can apply to solve this incompatibility issue?
Apologies for the delay in responding to your error.
A couple of questions to help get us oriented: Are you seeing this when you try to enable the Neatline plugin? or when you try to create a Neatline exhibit? Which versions of Omeka Classic and Neatline are you using? Which hosting provider are you using or is this a local install to a server?
I am seeing this error on a Neatline exhibit I created over a year ago. I am using Omeka Classic, version 2.7 , installed directly on my computer through a server.
Did you recently upgrade Omeka or the Neatline plugin? or install additional plugins?
I’m searching our github repo (https://github.com/scholarslab/Neatline/issues), but not seeing this particular error, so this may be something new. Any information you can give me about your laptop OS, and the versions of php, mysql, and MAMP that are installed there will be really helpful.
I am using a Windows 7 OS, and have not upgraded either the version of Omeka or Neatline, nor have I installed any additional plugins since adding a Neatline timeline in 2018. I created the exhibit in 2016-17 and have edited the content several time since, but have not upgraded or installed anything since.
I have accessed php and mysql through Reclaim Hosting for other work, but have not used either to access or refine the work on my exhibit on omeka.org.
Just so that I’m sure I’ve got this right: the problem you’re having is with the NeatlineTime plugin, not the Neatline mapping plugin?
I need to do a bit more digging into the github issues for the proper code. Sorry for the misunderstanding.
The problem is with the Neatline mapping plugin and the NeatlineTime plugin
Attached is a screen shot of the Neatline page and the error warning.
The warning is repeated on title page of the exhibit:
Warning : Declaration of NeatlineExhibit::beforeSave() should be compatible with Omeka_Record_AbstractRecord::beforeSave($args) in /home/norumbe1/public_html/plugins/Neatline/models/NeatlineExhibit.php on line 10
The NeatlineTime title page on the exhibit shows this warning:
Warning : Declaration of NeatlineTimeTimeline::beforeSave() should be compatible with Omeka_Record_AbstractRecord::beforeSave($args) in /home/norumbe1/public_html/plugins/NeatlineTime/models/NeatlineTimeTimeline.php on line 5
A link to the exhibit, “Framing the Atlantic Charter” is http://norumbega.org/exhibits .
Thanks for your help.
Following up on this, please upgrade your Neatline and NeatlineTime plugins to the most recent versions if you haven’t yet.
Neatline v2.6.3: https://github.com/scholarslab/Neatline
NeatlineTime v2.1.1: https://github.com/scholarslab/NeatlineTime
If the issues are still occurring after the plugins have been upgraded, we’ll work to find a fix from there.