Attempting to import our vB database, I repeatedly see this, for example:
debug_backtrace information:
Until that release, I am wondering how I might just hack a few lines somewhere to ignore the value (null string instead) and echo out what table, column, and row id caused it. It is just difficult to find a location in the code where vars like $tablename, $columnname, $rowid are available. Can you point me in a direction for that?
[InvalidArgumentException]
Received invalid UTF-8 for string column [custom_title]
[InvalidArgumentException]
Received invalid UTF-8 for string column
xf:import
debug_backtrace information:
- /home/chris/TouchArcade/public_html_xenforo/src/XF/Import/Data/EntityEmulator.php : 75 : castValueToType
- /home/chris/TouchArcade/public_html_xenforo/src/XF/Import/Data/User.php : 123 : set
- /home/chris/TouchArcade/public_html_xenforo/src/XF/Import/Data/AbstractData.php : 292 : set
- /home/chris/TouchArcade/public_html_xenforo/src/XF/Import/Importer/vBulletin.php : 1016 : __set
- /home/chris/TouchArcade/public_html_xenforo/src/XF/Import/Importer/vBulletin.php : 929 : setupImportUser
- /home/chris/TouchArcade/public_html_xenforo/src/XF/Import/Runner.php : 160 : stepUsers
- /home/chris/TouchArcade/public_html_xenforo/src/XF/Import/Runner.php : 74 : runStep
- /home/chris/TouchArcade/public_html_xenforo/src/XF/Cli/Command/Import.php : 66 : run
- /home/chris/TouchArcade/public_html_xenforo/src/vendor/symfony/console/Command/Command.php : 242 : execute
- /home/chris/TouchArcade/public_html_xenforo/src/vendor/symfony/console/Application.php : 843 : run
- /home/chris/TouchArcade/public_html_xenforo/src/vendor/symfony/console/Application.php : 194 : doRunCommand
- /home/chris/TouchArcade/public_html_xenforo/src/vendor/symfony/console/Application.php : 117 : doRun
- /home/chris/TouchArcade/public_html_xenforo/src/XF/Cli/Runner.php : 63 : run
- /home/chris/TouchArcade/public_html_xenforo/cmd.php : 15 : run
"custom_title" is just one of the columns this will happen with. Others are: "username", "signature", "about". Searching around, it seems that this is likely to be addressed in version 2.0.2.Until that release, I am wondering how I might just hack a few lines somewhere to ignore the value (null string instead) and echo out what table, column, and row id caused it. It is just difficult to find a location in the code where vars like $tablename, $columnname, $rowid are available. Can you point me in a direction for that?