Question
Wordpress migration, problems with php?
The same site works on the old hosting: http://cr07297.tmweb.ru and doesn’t on the digital ocean. http://188.166.161.225/ (I have some errors with showing posts, and ACF checkbox doesn’t work anymore here http://188.166.161.225/publication/?date=&author=&field=&type=&source=&media=&lab= )
The droplet is the wordpress droplet. I added php5.6 to it (which is on the old hosting too).
It looks like I have some issues with php files. For example, this said to have error on the last line
<?php if ( get_post_type()!='lab' && get_post_type() !='employee'):?>
<div class="postmeta updated">
<div class="postdate bg-lightgray headerfont" itemprop="datePublished">
<span class="postday"><?php echo get_the_date('j'); ?></span>
<?php echo get_the_date('M Y');?>
</div>
</div>
<?endif;?>
Don’t know anything about php. But it works on the old hosting. Do I miss something with the apache configuration?
Turning off plugins doesn’t help
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Can you please copy and paste any errors that you have from any log files specifically. Providing the configuration files and or code samples is also great but need to also see the specific errors that are logged as that can help much faster in diagnosing the problem.