Magento2 Code Migration Tool Issue with Custom Module Migration - magento2

Anyone faced this error?
I'm trying to migrate a custom module.
When I run this command, I get the error below. Please advise.
php bin/migrate.php migrateModuleStructure source destination
PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\Serialize\SerializerInterface in /var/www/code-migration-develop/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50
Thanks in advance.

Found from ShaneVBG at https://github.com/magento/code-migration/issues/103
Add to app/etc/di.xml in # ~ line 91
<preference for="Magento\Framework\Serialize\SerializerInterface" type="Magento\Framework\Serialize\Serializer\Json" />

Related

HTTP error 500 when trying to go to localhost/phpmyadmin on centos 8

when I'm trying to go to localhost/phpmyadmin then I'm getting HTTP error 500.i have installed PHP, PHP-MySQL, MySQL,apache...please help me to solve this problem.
Check your log
if you have this error
PHP Fatal error: Uncaught Error: Call to a member function getCookie() on null in /usr/share/phpmyadmin/libraries/classes/Url.php:217
Try to install php-json package
I hope this can be useful.

undefined function TYPO3\CMS\IndexedSearch\mb_strcut()

I'm trying to create a webpage using TYPO3 8.7, but when i go to Localhost/index.php it says "Oops an error has occured".
The only way i can see my webpage, is through the TYPO3 backend login apperently.
This is the error that it logs in the backend of TYPO3:
>
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to undefined >function TYPO3\CMS\IndexedSearch\mb_strcut() | Error thrown in file >/var/www/html/typo3_src-8.7.0/typo3/sysext/indexed_search/Classes/Indexer.php in >line 1314. Requested URL: Localhost/index.php
And my line 1314 is this:
$bodyDescription = mb_strcut($bodyDescription, 0, $maxL, 'utf-8');
I'm very new to this. So far i've been able to sort all bugs with the help from these forums and others, but unfortunately I can't find any solution to this one.
Any help is greatly appreciated.
Let me know if i need to provide some additionel information.
This error means that mbstring php extension is not enabled. You should install it, if you have Ubuntu you should execute
sudo apt-get install php-mbstring
Read more about installation of this PHP extension here

how to resolve following error?

I have followed cards for overview pages using annotations
this link to create a stack card, but I'm getting following error.
Uncaught (in promise) Error: failed to load 'sap/ovp/cards/charts/stack/Component.js' from /resources/sap/ovp/cards/charts/stack/Component.js: 404 - Not Found
Every bit of code is same as given in tutorial. I think my annotation file is incorrect. Please help.
thanks in advance.
use the following in manifest:
"template": "sap.ovp.cards.stack"
instead of
"template": "sap.ovp.cards.charts.stack"

error using kohana 3.3.3.1 mysqli

I have put this driver to MODPATH/database and changed type to 'MySQLi' in APPPATH/config/database.php and got an error Class 'Database_MySQLi_Result' not found. What am I doing wrong?
PHP Version 5.5.3-1ubuntu2.6
MySQL 5.5.37
Problem solved. I set access rights to the folder to 777.

rspec NameError for postgresql_version

I don't understand why I am seeing this error when my rails application is not using postgres. Any suggestions on how to resolve this?
c:\>rspec my_spec.rb
An error occurred in an after hook
NameError: undefined local variable or method `postgresql_version' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x41284c8>
occurred at C:/Ruby193/lib/ruby/gems/1.9.1/gems/database_cleaner-1.1.1/lib/database_cleaner/active_record/truncation.rb:123:in `db_version'
F
According to this, the current recommended approach is to use a version rule of "<1.1.0"
https://github.com/bmabey/database_cleaner/issues/224