Facing issue when running the command php bin/magento setup:upgrade

 The XML in file "D:/wamp64/www/porto/vendor/magento/module-inventory-catalog/etc/communication.xml" is invalid:
Element 'topic', attribute 'is_synchronous': The attribute 'is_synchronous' is not allowed.
Line: 9

Element 'topic', attribute 'is_synchronous': The attribute 'is_synchronous' is not allowed.
Line: 12

Element 'topic', attribute 'is_synchronous': The attribute 'is_synchronous' is not allowed.
Line: 15

Verify the XML and try again.
  • did you changed any thing in core files?
    – sudo55
    Jul 22, 2019 at 9:23
  • no i just run command : composer update and after that i am facing that issue Jul 22, 2019 at 10:06
  • I'm facing the same issue. Let me know if you found something.
    – Guerra
    Jul 22, 2019 at 21:05
  • For some reason our file is out of date. Check this out raw.githubusercontent.com/magento/magento2/2.3/lib/internal/… is_synchronous is there. And isn't on mine.
    – Guerra
    Jul 22, 2019 at 21:24
  • What is the final solution? I am also facing the same error. Sep 12, 2019 at 15:04

3 Answers 3


I ended up disabling these two modules, then setup:upgrade would get past the error. bin/magento module:disable Magento_Amqp Magento_MysqlMq


This Issue is Genuinly Due to Unknown Tag in Your


compare your file with


is_synchronous attribute is used correctly or not


If you're running a multiple PHP version, It could be the cause,

In this case, should check the CLI and Server version, these should be the same

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.