Hello. I get the following error directly on installing the newest version of Focus 2 (v1.02)…
Can’t use function return value in write context in /home/content/p/a/s/pastorius/html/testfocus/wp-content/themes/dw-focus-2/includes/post-meta.php on line 233
I have tried an install from within WordPress as well as an upload of the unzipped folder into WP Themes via FTP.
Please send me username & password of your site, I will help you install the theme.
Since this post is public, can you provide an email address for that information?
You can use the private option under the answer box.
Please send me your FTP account for further checking. I have installed the theme on my localhost and it works fine but not on your site.
I have helped you resolve this issue, you can check your test site now.
Hello. Thank you for your intervention. When I am ready to deploy the theme on my working website, is there anything in particular I should look out for to prevent a recurrence?
Firstly, you can use the FTP to open the themes/dw-focus-2/includes/post-meta.php file on line 233, you can replace this line with the following code:
if ( !get_post_meta( $post_id, ‘views’, true ) ) {
Thank you sir.
Please login or Register to submit your answer