Problem on Preview
-
Hi all,
Moving website from Deluxe hosting plan to Ultimate hosting plan – Godaddy
It went through without problem. However on Preview it popup;
Fatal error: Call to undefined function wp_register_plugin_realpath() in /home/gopublic2014/public_html/cuisine/wp-settings.php on line 213
wp-settings.php
line 213 wp_register_plugin_realpath( $plugin );found “Symlinked Plugins in WordPress 3.9”
http://make.wordpress.org/core/2014/04/14/symlinked-plugins-in-wordpress-3-9/but couldn’t resolve where to enter;
<?php $plugins = array( 'my-mu-plugin/my-mu-plugin.php', ); foreach ( $plugins as $plugin ) { $path = dirname( __FILE__ ) . '/' . $plugin; // Add this line to ensure mu-plugins subdirectories can be symlinked wp_register_plugin_realpath( $path ); include $path; }
How to change ( $path ) ?
Please help. Thanks
Rgds
satimis
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem on Preview’ is closed to new replies.