Jump to content

Archived

This topic is now archived and is closed to further replies.

Tim

Plugin Incompatibilities

Recommended Posts

Tim

I am trying to use a mapping plugin and am receiving error messages when the pl-platform plugin is active:

Fatal error: Cannot redeclare pl_page_type() (previously declared in /wp-content/plugins/pl-platform/engine/lib/page.php:757) in /wp-content/plugins/pl-platform/engine/lib/page.php on line 760
Presume the function should be wrapped in the not function_exists() condition but not sure how to do this for all functions......or if it needs to be done for all.....

Share this post


Link to post
Share on other sites
Simon

there is no function pl_page_type() on line 760 and never has been, make sure you have the latest package.

Share this post


Link to post
Share on other sites
Tim

What is the latest package? I have 5.0.79 downloaded from: http://www.pagelines.com/platform/

the page.php file is in the zip file under the directory engine/lib/ and the pl_page_type() appears to be there....

.....I assume I am reading this correctly or is that why its called *code*? ;)

- T

Share this post


Link to post
Share on other sites
Simon

read your error

Fatal error: Cannot redeclare pl_page_type() (previously declared in /wp-content/plugins/pl-platform/engine/lib/page.php:757) in /wp-content/plugins/pl-platform/engine/lib/page.php on line 760

It says function is declared on line 760, but its already declared on line 757

 

Share this post


Link to post
Share on other sites
Tim

yes...? not sure quite what you are saying.

Share this post


Link to post
Share on other sites
Simon

Well what im saying is there is only one function.

Can you post the contents of the file to gist.github.com. or pastebin so we can see it.

Share this post


Link to post
Share on other sites
Tim

http://pastebin.com/NFyBjueL

like you say line 760 is blank. the plugin was downloaded, installed and activated. The mapping plugin stops working and the error message is as above.

 

 

Share this post


Link to post
Share on other sites
Simon

do you have a phpinfo() page anywhere?

Share this post


Link to post
Share on other sites
Simon

WOW that is a very VERY old php version!!

You should update that before anything else. 5.3 branch was end of life august last year with 5.3.29 and will never be updated with any fixes including security fixes!

5.3.3 has over 60 vulnerabilities listed! http://www.cvedetails.com/vulnerability-list.php?vendor_id=74&product_id=128&version_id=97802

Share this post


Link to post
Share on other sites
Tim

Unfortunately I can't update php on the server so may have to migrate the sites off of it.

I have set up a test server with a more up to date config, still getting a redeclare error when the platform 5 plug in is active

 PHP Fatal error:  Cannot redeclare pl_page_type() (previously declared in /var/www/html/wp-content/plugins/pl-platform/engine/lib/page.php:757) in /var/www/html/wp-content/plugins/pl-platform/engine/lib/page.php on line 759
 

http://162.13.191.229/phpinfo.php

Share this post


Link to post
Share on other sites

×