• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RESOLVED PHP Version Problem

nadavs

New member
Messages
2
Likes
0
Points
1
#1
Hello,

Whenever I try to run php snippets on a site that runs php version 7 or above, WordPress crashes on the first instance of the snippets so the page doesn't show. Pages and posts that don't have any snippet are OK.

How can I fix this?

Thank you,
nadavs
 

nadavs

New member
Messages
2
Likes
0
Points
1
#2
Found the problem: I used mysql functions (which were removed in php 7) instead of mysqli.

nadavs