When I update this plugin I get this error message Posts: invalid template name.
As suggested by @hiroki2020 I went to
wp-content/plugins/shortcodes-ultimate/includes/shortcodes/posts.php
but line 432 is different.
$path = path_join( $base, $template );
/* This is line 427-437. */
foreach ( $locations as $base ) {
$base = untrailingslashit( $base );
$base = realpath( $base );
/*line 432*/ $path = path_join( $base, $template );
$path = realpath( $path );
if ( file_exists( $path ) && strpos( $path, $base ) === 0 ) {
return $path;
}
/* I know enough php to be able to edit, but not write the code.
I also tried deleting the plugin through Filezilla and re-uploading it through the WP back end Plugins Add New and after I activated the plugin it created a fatal error. The staging site was no longer accessible, so re-set it. I would like to keep this plugin up to date, please help! */