Non-standard WordPress Installs
-
When using this plugin on non-standard WordPress installation structures (i.e. having WordPress in a sub directory /wp/), the popup to embed the form fails with a fatal error.
In incudes/pardot-wp-loader.php where the fatal error occurs, there is a recursive function that tries to look for wp-load.php further up the directory structure. It fails because of the non-standard structure.
The solution is that the plugin shouldn’t be loading WordPress with wp-load.php from a plugin: https://ottopress.com/2010/dont-include-wp-load-please/ – that post has links to other posts which give answers on how to overcome the problem.
We have fixed our install by editing the path where it looks for wp-load.php but this is not a permanent solution. If we have more time we’ll look at the plugin code further and provide an alternative solution to avoid loading wp-load.php.
Otherwise the plugin works great!
Jonny
- The topic ‘Non-standard WordPress Installs’ is closed to new replies.