Softaculous


Topic : ImpressPages has Core Bug. Here is Fix.


Posted By: johnywhy on July 8, 2018, 12:41 am
On fresh install of 5.0.3, the following error appears on the site homepage:
Quote
assert(): Calling assert() with a string argument is deprecated in /Ip/Internal/Revision.php:44

Here's the fix:

Change line 44, from:
PHP Code

 assert('$pageId > 0'); 


to
PHP Code

 assert($pageId 0); 


Posted By: Brijesh on July 10, 2018, 2:32 pm | Post: 1
Hi,

It looks like this happens with PHP 7.2 as "Using string as the assertion is DEPRECATED as of PHP 7.2"

The code is not yet updated in the ImpressPages package hence we will wait for them to update it.

Once they launch the updated package we will update it in Softaculous immediately.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.