Hi,
encountered this:
Only variables should be passed by reference in /home/oxmocomp/domains/oxmo.com.pl/public_html/wp-content/themes/notio/admin/ot-loader.php on line 329
and it doesn’t do much damage besides showing up at mobile devices, although obviously annoying. I only managed to get into a couple of WSODs because I’m too lame.
This is:
*/
[php] if ( false == OT_THEME_MODE && false == OT_CHILD_THEME_MODE ) {
define( ‘OT_DIR’, plugin_dir_path( FILE ) );
define( ‘OT_URL’, plugin_dir_url( FILE ) );
} else {
if ( true == OT_CHILD_THEME_MODE ) {
$path = ltrim( end( @explode( get_stylesheet(), str_replace( ‘\’, ‘/’, dirname( FILE ) ) ) ), ‘/’ );
define( ‘OT_DIR’, trailingslashit( trailingslashit( get_stylesheet_directory() ) . $path ) );
define( ‘OT_URL’, trailingslashit( trailingslashit( get_stylesheet_directory_uri() ) . $path ) );
} else {
$path = ltrim( end( @explode( get_template(), str_replace( ‘\’, ‘/’, dirname( FILE ) ) ) ), ‘/’ );
define( ‘OT_DIR’, trailingslashit( trailingslashit( get_template_directory() ) . $path ) );
define( ‘OT_URL’, trailingslashit( trailingslashit( get_template_directory_uri() ) . $path ) );
}
}[/php]
/**
the part of code and line it is referring to.
Thanks in advance.