Scripts give fatal errors.
-
I should enter script code of a JS program, but it gives me error.
I even tried to add;
<script type="text/javascript"> </script>And I get a serious error.
Don't Panic The code snippet you are trying to save produced a fatal error on line 498: Return type of WP_Hook::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before. Please use the back button in your browser to return to the previous page and try to fix the code error. If you prefer, you can close this page and discard the changes you just made. No changes will be made to this site.I am a newbie on the JS and I am following this guide.
https://github.com/ethanaobrien/emulatorjsI don’t know where to put the folders I add via FTP. I guess the part of the code with the DIVs should be added in the HTML of the affected page.
But the script doesn’t want to start and I don’t understand why. I put the url of the game and did various tests. Even if I’m a beginner, I think something is missing or there is a serious problem.
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Scripts give fatal errors.’ is closed to new replies.