latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Claudio Alberti

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
"Only variables can be passed by reference"

By:  Xander Robar in: Community Forum

voices: 6
replies: 8

3 years ago  Gerard Davies

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Wednesday Dec 4th, 2013 at 3:28 pm #61611

FYI I had the same issue and was able to fix it like this:

If you go to line 57 in file

s2member/includes/classes/css-js-themes.inc.php

just remove NULL from the call to get_post

so replace this:

else if(is_singular() && ($post = get_post(NULL))

with this:

else if(is_singular() && ($post = get_post())

now my site is working with v 131126

Anyway I’d like to know the advice of the S2 guys.
cheers,
Claudio

Viewing 1 replies (of 1 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.