Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6587

Re: local plugin backup, questions hook

$
0
0
by Mark Nielsen.  

Hey Ray, in looking at your code, it seems like you are on the right track.  I think what is causing the error is this line:

$plugin = $this->get_plugin_element(null, $this->get_include_condition(), 'include');

I haven't use those condition parameters before and I really don't know what they are all about.  I think you are trying to see if the question is included in the backup or not, but by the time your hook is being called, the question is being written out to the backup, so it is included.  Maybe try just removing all the parameters here like in David's post.


Viewing all articles
Browse latest Browse all 6587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>