I set an destinations called "test" with a clean Transfer and WP 4.9 installation in my local env(Laravel Homestead, PHP 7.1.10).
When I go http://local.dev/destinations/test/ , it went error:
WARNING: PARAMETER 2 TO TRANSFERS_PLUGIN_POST_TYPES::CONNECTING_DESTINATIONS_WHERE() EXPECTED TO BE A REFERENCE, VALUE GIVEN IN /HOME/VAGRANT/CODE/WP-INCLUDES/CLASS-WP-HOOK.PHP ON LINE 286
But http://local.dev/destinations/ was doing fine.
Permanent Link has been set to http://local.dev/%postname%/ , don't know which part was wrong.
=====
Update:
I set another local php 5.6 env with same clean install, http://local.dev/destinations/test/ went fine.
So is Transfer theme not compatible with php 7.1? Will there be a further upgrade?
Hi,
I set an destinations called "test" with a clean Transfer and WP 4.9 installation in my local env(Laravel Homestead, PHP 7.1.10).
When I go http://local.dev/destinations/test/ , it went error:
But http://local.dev/destinations/ was doing fine.
Permanent Link has been set to http://local.dev/%postname%/ , don't know which part was wrong.
=====
Update:
I set another local php 5.6 env with same clean install, http://local.dev/destinations/test/ went fine.
So is Transfer theme not compatible with php 7.1? Will there be a further upgrade?
Hi,
Yes, there might be issues with 7.1.
To fix, please edit /wp-content/plugins/transfers-plugin/includes/plugin_post_types.php and look for this:
function connecting_destinations_where( $where, $wp_query ) {change it to
function connecting_destinations_where( $where, &$wp_query ) {Similarly, look for
function connecting_destinations_groupby( $groupby, $wp_query ) {and change it to
function connecting_destinations_groupby( $groupby, &$wp_query ) {and look for
function connecting_destinations_fields( $fields, $wp_query ) {and change it to
function connecting_destinations_fields( $fields, &$wp_query ) {We will also fix this in our next upgrade
Best regards,
themeenergy support
Thanks for your quick response,
But I found the answer might been misplaced, they are supposed to be:
find
function connecting_destinations_where( $where, &$wp_query ) {
and change it to
function connecting_destinations_where( $where, $wp_query ) {...
...
and it works fine now.
Thanks again.
Ok thanks.
Best regards,
themeenergy support