Package installation error

Permalink
On my local dev the package installs perfectly which is:
Ubuntu Xenial 64-bit
PHP 7.0.18-0ubuntu0.17.04.1 (cli) (built: Apr 26 2017 23:59:48) ( NTS )

On the remote machine it fails with:
The type hint of parameter "node" in method "export" in class "Concrete\Core\Entity\StyleCustomizer\Inline\StyleSet" is invalid.

Remote machine is Amazon AWS with:
Ubuntu Xenial 64-bit
PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )

I have no idea what's causing this, the stack trace points to the $pkg = parent::install();
line in the package controller which is the very first line in the install() method.

Has anyone else experienced this? I doubt that it's the 0.0.3 difference in the PHP vers, in fact this package has installed previously on that machine which is even stranger.

surefyre
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi surefyre,

What version of concrete5 are you using?
surefyre replied on at Permalink Reply
surefyre
Sorry my bad

Latest, both checked for updates
MrKDilkington replied on at Permalink Reply
MrKDilkington
@surefyre

The latest 5.7 or version 8?
surefyre replied on at Permalink Reply
surefyre
Ah, didn't realise they existed concurrently, 5.8, latest version
MrKDilkington replied on at Permalink Reply
MrKDilkington
@surefyre

Do other packages successfully install on the Amazon AWS remote server?

What type of package is this? Does it include a theme?
surefyre replied on at Permalink Reply
surefyre
I've not actually tried other packages on it TBH, it's a proprietary chunk of software I'm building which is a complete rebuild of a previous versionwhich was made in Wordpress ('scuse my French) which I'm moving to C5. It's nearly done hence getting it onto the testing server and yes it has a couple of themes in it, too. Both derived from Elemental initially to save some time.

I have my own AWS server which I know I've installed earlier versions of this package on without issue but this really needs PHP7 and my machine is running C5.6 instances which don't like PHP7 which is why it's on a different AWS instance.

Will try installing a free package into it to make sure that actually works.
surefyre replied on at Permalink Reply
surefyre
Righto MrK I've been a pillock and trusted the Xenial install to install all the requisites on AWS I'd expect on the laptop. DOM, XML, Multibyte, Zip and some other php extensions were missing when I downloaded 8.1.0 to a new directory and ran the setup.

All good now, sorry to have wasted your time!

I notice that mcrypt and iconv appear to be deprecating shortly, too.