I'm in the process of transferring my wiki from smw to cargo.
For the last little while whenever I run php extensions/Cargo/maintenance/cargoRecreateData.php once it gets to a specific table it errors out with Error from line 150 of extensions/Cargo/maintenance/cargoRecreateData.php: Call to member function getContent() on null.
To get around this, I edited the file to add a
if ($wikiPage === null) { continue; }
before the to getContent().
It's weird because even before I put in this fix, I could run the script with --table on the table that failed with no problems.