MyBB Community Forums

Full Version: I am getting error with yourcode plugin !
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just installed a plugin named :- Yourcode

and i just get this error. [attachment=43733]

please can anyone solve this issue ?
please help me anyone.....
Seems like from PHP 7.3 there is a warning when using continue in a switch statement (https://www.php.net/manual/en/control-st...ntinue.php)

You can try to go to line 610 in the /yourcode/acp.php file and change the
continue
to
continue 2
it worked , thanks 😊❤️ sir for this.
i set a code on this plugin...

and this is throwing me an error.
[Image: Screenshot-2021-02-22-22-44-54-015-com-a...chrome.jpg]
please help me with this ...

(2021-02-05, 05:45 PM)Ben Wrote: [ -> ]Seems like from PHP 7.3 there is a warning when using continue in a switch statement (https://www.php.net/manual/en/control-st...ntinue.php)

You can try to go to line 610 in the /yourcode/acp.php file and change the
continue
to
continue 2

line 601 to 616
		// activate
						$activeModules[] = $yourcode['active']['modules'][] = $name;
					} elseif (in_array($mybb->input['inline_action'], array('deactivate', 'delete'))) {
						if ($mybb->input['inline_action'] == 'deactivate') {
							$action = $lang->yourcode_deactivated;
						}

						if (!in_array($name, $activeModules)) {
							if ($deleted) {
								continue 1;
							}
							continue 2;
						}

						// deactivate
	

and line 610 t0 line 612 :-

								continue 1;
							}
							continue 2;

error not solved... showing again and again... please help...