+ 2

How to fix VANTA.CELLS error in PHP in the following link: https://sololearn.com/compiler-playground/wjbS1bgahctG/?ref=app

I'm converting from HTML to PHP and I get a VANTA.CELLS error, how can I fix that? https://sololearn.com/compiler-playground/wjbS1bgahctG/?ref=app

8th Jul 2024, 10:50 PM
Nguyễn Viễn
Nguyễn Viễn - avatar
4 Answers
+ 2
"I'm converting from HTML to PHP..." No. you are not converting HTML to PHP, those are two different & incompatible languages, and run on different ends - HTML & JS runs on front-end, PHP runs on back-end. What happened here is - you copy HTML code, and paste it into an empty PHP code. If you get the error on SoloLearn's playground, then try and see how it works in local machine. But I would rather resort to saving the code as a Web code bit (for SoloLearn) or a HTML document (for local machine), as that code seems to be an HTML code originally. Playground implies necessary adjustment(s) to add safety while still allowing code to run. Limitation of a sandbox *might* sometime prevent a code from properly running. This is especially true for codes that assume resource full access were available :) P.S. As adviced, move code bit link from your post's title into post's Description. Links never work when placed in post's title or tags.
9th Jul 2024, 8:15 AM
Ipang
9th Jul 2024, 5:34 AM
Chris Coder
Chris Coder - avatar
+ 1
interesting. I can't see any PHP in this code, but javascript yes....
9th Jul 2024, 4:44 AM
Mihaly Nyilas
Mihaly Nyilas - avatar
0
Could you please share the code so I might solve the problem.
9th Jul 2024, 3:44 AM
Sreeju
Sreeju - avatar