i have installed the coder_upgrade module, and placed the unpacked d7 module inside the <docroot>/files/coder_upgrade/new/  directory. the module i am trying to port is the php (php filter) module from d7 core.

when i select the module and click "convert files", i get the white screen of death. when i turn on error display, i get this:

Fatal error: Class 'SearchApiAbstractService' not found in /home3/wxvmwlmy/public_html/.domains/polygonpolitics.com/modules/metatag/tests/metatag_search_test.module on line 22

clearly something is not right. do i need to do something different (from what is described in the instructions on the module page on backdropcms.org) since it is a core module, and also actually a sub-module ?

 

Accepted answer

You have to place the D7 module in the OLD directory: <backdrop_root>/files/coder_upgrade/old/

See: https://backdropcms.org/project/coder_upgrade -> Installation and usage -> 6.

The error message is generated by Metatag module. (I could reproduce the error message. I created an issue: https://github.com/backdrop-contrib/metatag/issues/34 )

If You want to convert the D7 module, first You have to uninstall the Metatag module, AND delete the directory of Metatag: <backdrop_root>/modules/metatag

Comments

You have to place the D7 module in the OLD directory: <backdrop_root>/files/coder_upgrade/old/

See: https://backdropcms.org/project/coder_upgrade -> Installation and usage -> 6.

The error message is generated by Metatag module. (I could reproduce the error message. I created an issue: https://github.com/backdrop-contrib/metatag/issues/34 )

If You want to convert the D7 module, first You have to uninstall the Metatag module, AND delete the directory of Metatag: <backdrop_root>/modules/metatag

thanks, i will try that. and thanks for creating an issue.

it was obvious where the error was generated, i should have tried disabling that module. in the long run i need metatag more than coder_upgrade, but the upgrade is just temporary.

btw, that was my typo, i did put the d7 module in the "old" directory, i assume that is why it did show up for me to select.

thanks again, i'll post back after i've tried it without metatag.

All right. Don't forget: It is not enough to disable the Metatag module, You have to delete the directory of Metatag. (I experienced this.)