Getting Fatal error when running ZF2 project on php 7.1.1 Zend\Stdlib\PriorityQueue contains 1 abstract method - zend-framework2

I'm getting the following Fatal error when running a ZendFramework2 project on PHP 7.1.1.
The error is:
Fatal error: Class Zend\Stdlib\PriorityQueue contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Serializable::unserialize) in F:\xampp\htdocs\MyZF2Site\vendor\zendframework\zendframework\library\Zend\Stdlib\PriorityQueue.php on line 28
What could be the sulution?

I had the same problem. Already I solved it.
PHP 7.1.9
Fatal error: Class Zend\Stdlib\PriorityQueue contains 5 abstract methods...
Change PHP 7.0.23. To change is very easy for me because I use wampserver.
It's work 0k ¡
Againg to change to PHP 7.1.9.
It worked 0k forever. Why?¡¡ I don't know. I think it is issue cache.
slds

Almost always there are some backwards incompatible changes, in this case you can check out those changes here http://php.net/manual/en/migration71.incompatible.php.
Here http://php.net/manual/en/appendices.php you can see changes in previous versions.
You did not say which exactly version of ZF2 you use.

Related

dcc32 Fatal Error F2084 Internal Error: AV116B241E(11640000)-R00000378-0

I'm using Delphi (Version 28.0.42600.6491).
Often (about two times per day) when i'm working, i get this error when trying to compiling any project. Only workaround is to close the IDE and open it again :
dcc32 Fatal Error F2084 Internal Error: AV116B241E(11640000)-R00000378-0
It's not a big deal but this happens everyday.
Any hints to fix it for good ?
Thanks !
it uses to happen alto to me... i have no ideia what can lead to this ERROR but in my case i found that it was triggered on a function where i was comparing to TObject members of a class
IE: Self.Parent=NewComponent.Parent
my solution was to find a work arround to eleminate the Object comparison and use other datatype reference for comparison

The call is ambiguous between the following methods or properties: 'QuickFix.Fields.Converters.DateTimeConverter.Nanosecond(System.DateTime)'

I try to run Quickfix\n project and I face the above error with 6846 warnings. Why does this happen ? I see that many resolve this error message by modifying the code (i mean general this error message & not especially for the project of quickfix\n) but I didn't write this code so that to be in somewhere mistake while I get the quickfix\n as project to run it

iText7 null reference exception on PdfFontFactory.CreateFont(StandardFonts.TIMES_ROMAN) VS2019

Hi All: I have a VS2019 console app project that generates PDFs. Everything was working fine a month ago. When I re-opened the project and tried to run it, I am receiving a nullreferenceexception error when trying to create the first font in the PdfDocument.
PdfFont bfTimes = PdfFontFactory.CreateFont(StandardFonts.TIMES_ROMAN);
throws:
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=itext.io
StackTrace:
at iText.IO.Font.FontCache..cctor()
I've confirmed the PdfDocument exists, and the font above returns "true" for "isRegistered".
Nothing changed in the project, but I did update VSCommunity to 16.11.2 at some point in the past couple of weeks. Is there any way to get a better error description for what's happening?
i searched for that specific exception error and found this other post from a few weeks ago:
https://csharpforums.net/threads/using-a-winform-to-create-a-pdf-using-itext7.6406/
The suggestion to turn on "just my code" in the debugging options made the error go away like magic :o

stm32f070rbt6 Stack pointer invalid address problem

I have currently changed to a new microcontroller, STM32F070RBT6, I have used the STM32CubeMx to set up the microcontroller, i currently have no code just HAL initialisation code, when i debug it comes up with error message saying " The stack pointer for stack 'CSTACK' (currently 0x20000E38) is outside the stack range (0x20000110 to 0x20000510)"
I have tried all today to find the error, thats why i created a new stm32cube project with only initialisation code to see if it was an error on my part or HALs, does anyone have any idea what is causing this error? I havn't provided code as the project only contains the startup file etc, I am also using IAR as the IDE

Xamarin iOS Binding: Could not initialise an instance of the type, returned nil

I've bound an iOS library, SVGKit, to C# using Xamarin/Monotouch. After some issues I've managed to get the library to build ok.
My code can be found here: https://github.com/jamesmundy/SVGKit.Xamarin
Unfortunately, when I try to initialise a type from the class I receive the following error:
Could not initialize an instance of the type
'SVGKitBindings.SVGKFastImageView': the native 'init' method returned
nil. It is possible to ignore this condition by setting
MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure to false.
The full stack trace is can be seen here.
Any idea as to what is causing this problem and what I can do to rectify it?
Update: Here is the full Build Output of my project. http://pastebin.com/f60wFm52
Update 2: Tried setting SmartLink to false and rebuilding, same error though a slightly different build output. http://pastebin.com/ApCAz2BP
Look at the source code for SVGKFastImageView init [1]:
- (id)init
{
NSAssert(false, #"init not supported, use initWithSVGKImage:");
return nil;
}
The managed exception is correct: you can't call this constructor.
[1] https://github.com/SVGKit/SVGKit/blob/cd47ae95e57c9490a9238173855ecbe83d4aaf44/Source/UIKit%20additions/SVGKFastImageView.m#L53

Resources