Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP8.2 - Using ${var} in strings is deprecated, use {$var} instead #790

Open
aspark21 opened this issue Dec 29, 2024 · 0 comments
Open

PHP8.2 - Using ${var} in strings is deprecated, use {$var} instead #790

aspark21 opened this issue Dec 29, 2024 · 0 comments

Comments

@aspark21
Copy link
Contributor

PHP8.2
Moodle 4.5
mysql
turnitin develop branch

List the system steps definitions/Accessing the list
And I navigate to "Development > Acceptance testing" in site administration: Moodle exception: Exception - Unknown error type: Using ${var} in strings is deprecated, use {$var} instead in [dirroot]/plagiarism/turnitin/tests/behat/behat_plagiarism_turnitin.php on line 72 More information about this error

Exception - Unknown error type: Using ${var} in strings is deprecated, use {$var} instead in [dirroot]/plagiarism/turnitin/tests/behat/behat_plagiarism_turnitin.php on line 72
More information about this error


    
Debug info: 
 
Error code: generalexceptionmessage
    
        
×
        
Dismiss this notification
    

	* line 157 of /lib/behat/lib.php: Exception thrown
	* line 1544 of /lib/behat/classes/behat_config_util.php: call to
behat_error_handler()
	* line 1544 of /lib/behat/classes/behat_config_util.php: call to
require_once()
	* line 1206 of /lib/behat/classes/behat_config_util.php: call to
behat_config_util->get_behat_contexts_for_theme()
	* line 520 of /lib/behat/classes/behat_config_util.php: call to
behat_config_util->get_behat_suites()
	* line 405 of /lib/behat/classes/behat_config_util.php: call to
behat_config_util->build_config()
	* line 129 of /lib/behat/classes/behat_config_manager.php: call to
behat_config_util->get_config_file_contents()
	* line 56 of /admin/tool/behat/locallib.php: call to
behat_config_manager::update_config_file()
	* line 42 of /admin/tool/behat/index.php: call to
tool_behat::stepsdefinitions()
 (Exception)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant