psubraty
Forum Replies Created
-
Forum: Plugins
In reply to: [Post My CF7 Form] Can’t use function return value in write context (PHP 7.2)Nope. Let’s leave it like that, I’ll try to remember to update code manually.
Thank You.Forum: Plugins
In reply to: [Post My CF7 Form] Can’t use function return value in write context (PHP 7.2)oh, one more thing. Will this change in code be implemented in “standard”? If not, it will get updated after next patch and I will have to switch code manually?
Forum: Plugins
In reply to: [Post My CF7 Form] Can’t use function return value in write context (PHP 7.2)works like charm, thank You!
Forum: Plugins
In reply to: [Post My CF7 Form] Can’t use function return value in write context (PHP 7.2)Hi,
I am able to save this change, but I am getting an error while loading any page:
Warning: array_intersect(): Argument #2 is not an array in /home/users/woof/public_html/ogrod.ptakipolskie.pl/wp-content/plugins/post-my-contact-form-7/public/class-cf7-2-post-public.php on line 189
Now I can’t go back to old code neither. This time I get an error while trying to save code:
Line 193: && !empty(array_intersect( $shortcodes, $matches[2] )) ) {
Can’t use function return value in write context- This reply was modified 5 years, 10 months ago by psubraty.
Forum: Plugins
In reply to: [Post My CF7 Form] Can’t use function return value in write context (PHP 7.2)This is a shared server, I’ll ask my hosting provider about the possible problems You mentioned. Meanwhile it would be great if You could provide the code to be replaced ??
Forum: Plugins
In reply to: [Post My CF7 Form] Can’t use function return value in write context (PHP 7.2)As I sad, I triple checked. Including all the methodes mentioned in the link You provided. I really know the version of PHP on my server. I can give You an access to the wordpress to test it.
Forum: Plugins
In reply to: [Post My CF7 Form] Can’t use function return value in write context (PHP 7.2)Hi. Were You able to find the problem?
PsubratyForum: Plugins
In reply to: [Post My CF7 Form] Can’t use function return value in write context (PHP 7.2)Yes, I triple checked. Also right now using this method You pointed. PHP Version 7.1.15
Forum: Plugins
In reply to: [Post My CF7 Form] Can’t use function return value in write context (PHP 7.2)PHP is 7.2.3. Tried downgrading to 7.1 – the same. It turns out I don’t even have to add any code. When I open editor and just click save – I get an error.