I have two sites
When I’m connected on Wordpress and I go on CakePhp I want get the wordpress connexion inside CakePhp
On the AppController I want import the wp-load.php but I have an error
Fatal error : Cannot redeclare __() (previously declared in C:\wamp64\www\POC\wordpress-cakephp\cake\vendor\cakephp\cakephp\src\I18n\functions.php:26) in C:\wamp64\www\POC\wordpress-cakephp\wordpress\wp-includes\l10n.php on line 249
I have no solution for pass this error
I don’t want touch the wordpress core or cake lib.
Anyone as an idea ?