Problem with PHP and wordpress version

Asked

Viewed 81 times

-3

I am trying to learn wordpress and I came across the following problem: I have two notebooks with Windows 7 and in the oldest the most current version of wordpress gave incompatibility with PHP version 5.5.12, in the newer laptop also with windows 7 gave another msg error due to PHP being very current (7.3.10) displaying error: 

Warning: Count(): Parameter must be an array or an Object that Implements Countable in C: xampp htdocs cursoWP wp-includes functions.php on line 1072 . 

I did some research, applied the suggested solution but unsuccessfully.

The question is this: if I update wamp will automatically update php and mysql, will it subscribe to the previous installation? I will lose the existing Bds in mysql?

There’s a Zica this, I’ve never seen it, in one note is too old and in the other is too current, will understand...

1 answer

-3

If you don’t want to uninstall, you can use another local server like xamp. Anyway to not lose the banks, back up. Anyway, the problem is not the windows version but the version of your wamp, which on a machine is outdated.

  • I uninstalled the xampp and installed the most current wamp, but it gave msg that a dll is missing. The thing is so weird that I will try a third computer.

  • The amazing thing is that even in English forums I did not find the solution to the error pointed initially.

  • wamp has not been updated in awhile, and back and forth gives some DLL error.

  • I managed to solve the problem, I made a change in line 1072 by changing cont to in_array, and problem was fixed.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.