Plugin Support
Fotis
(@markwaregr)
Hi there,
this has been answered here https://ww.wp.xz.cn/support/topic/audioigniter-fail/
and it is not related to AudioIgniter or WordPress in general.
It seems that you are trying to change WordPress database, manually or when pushing changes from a staging environment to a production one (Plesk clone or copy functions for example) you overwrite WordPress table that AudioIgniter stores content. Please revert to a previous backup to restore your playlists.
Thread Starter
mfsaka
(@mfsaka)
Doesn’t help this time!
Even roll off to back-up point does not help to fix this.
Thanks – i’m sick of you AudioShitnitter. Outtie!
Plugin Support
Fotis
(@markwaregr)
Hi there,
I understand your frustration, but I am afraid this is not related to AudioIgniter. If you restore backups from previous dates that everything was ok, this probably is a damaged setup in your backup operation or you save certain tables from the database.
Thread Starter
mfsaka
(@mfsaka)
No! My backup is fine! I have this issue 4 times from day i start to use your plugin. None of those 4 times backup can’t fix this playlist lost. I have huge 1000+ tracks playlists. I doubt you can feel how big my frustration!
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
@mfsaka Do not post a whole file like that again. Past 10 lines it can’t work here ever.
Just post a link to that file instead.
Thread Starter
mfsaka
(@mfsaka)
public function is_playlist( $post ) {
$post = get_post( $post );
if ( is_wp_error( $post ) || empty( $post ) || is_null( $post ) || $post->post_type !== $this->post_type ) {
return false;
}
return true;
Thread Starter
mfsaka
(@mfsaka)
if ( empty( $post ) || $post->post_type !== $this->post_type ) {
wp_send_json_error( __( “ID doesn’t match a playlist”, ‘audioigniter’ ) );
}
Plugin Support
Fotis
(@markwaregr)
Hi there, @mfsaka
Can you please give a context of this code, and why you believe this alters the database?