0

I am getting this error in Madara Theme. I've turned on the debug mode and come to know about the error/warning that is given below:

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in

Anyone here who know how to resolve this issue?

stuckoverflow
  • 625
  • 2
  • 7
  • 23
Tayyaba
  • 1
  • 1
  • Report the issue to whoever wrote that theme. does that error have afilename and line number with it? – RiggsFolly Jul 09 '21 at 09:31
  • yess there is a proper path and line number too. But I have checked that file. It contain only 10 lines of code and error line is in 3000. – Tayyaba Jul 09 '21 at 09:36
  • home/public_html/wp-content/plugins/madara-unyson-backup-restore/framework/core/components/extensions/manager/class--fw-extensions-manager.php on line 3682 – Tayyaba Jul 09 '21 at 09:37
  • 1
    Please, always show us the complete error message not a summary – RiggsFolly Jul 09 '21 at 09:41
  • This is the complete error which I posted in a reply. – Tayyaba Jul 09 '21 at 09:46
  • since my fastest php framework + micro framework as well in the world is not avalable for download i can only reffer another microframework very fast that could replace that slower think will ruin your job : https://flightphp.com/ –  Jul 09 '21 at 09:49
  • Is the plugin `madara-unyson-backup-restore` up to date? if not try updating it first. It seems the plugin code is not compatible with php 7.3+. `As of PHP 7.3, a warning will be thrown when continue is used within a switch without a numeric argument.` Ref: [php/php-src](https://github.com/php/php-src/commit/04e3523b7d095341f65ed5e71a3cac82fca690e4). Alternatively (not recommended) you could change all the `continue` in the switch statement – Jasper B Jul 09 '21 at 13:17
  • I'm using the Latest Version of all plugins – Tayyaba Jul 09 '21 at 17:41

0 Answers0