Title: Php code help ? Can&#039;t find the problem
Last modified: August 20, 2016

---

# Php code help ? Can't find the problem

 *  [MemesQc](https://wordpress.org/support/users/memesqc/)
 * (@memesqc)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/php-code-help-cant-find-the-problem/)
 * Alright i’m trying to get some ”next picture” previous picture” buttons on my
   website. ( [http://www.memesquebecois.com](http://www.memesquebecois.com) )When
   i try to change picture it goes to a half loaded page (see by yourself, just 
   go on my website and click the arrows)
 * Here is the code:
 *     ```
       <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       <H1><?php the_title(); ?></H1>
       <div class="clear"></div>
       <div class="buttons">
   
       <?php previous_post_link_custom('%link', 'Previous Pic') ?>
       <?php next_post_link_custom('%link', 'Next Pic') ?>
       </div>
       <div class="pic rounded-8">
   
       <!--post title as a link-->
       <div id="post-<?php the_ID(); ?>" class="thumbnail" >
       <?php $feature_img = portfolio_get_post_image( $post->ID, 'Thumbnail', '', '' ); ?>
       <img src="<?php echo $feature_img; ?>" alt="<?php the_title(); ?>" />
       </div>
       ```
   
 * _[please mark any posted code – [http://codex.wordpress.org/Forum\_Welcome#Posting\_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)]_
 * where is the problem ?!

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/php-code-help-cant-find-the-problem/#post-3083093)
 * this error mesage is within th html code of the ‘half loaded page’:
 * `<b>Fatal error</b>: Call to undefined function dd_fblike_generate() in <b>/home/
   memesque/public_html/wp-content/themes/damnlol/single.php</b> on line <b>14</
   b><br />`
 * do you possibly have a missing, deactivatged, or broken plugin ?
 * check single.php for the code `dd_fblike_generate()`, and if you don’t have the
   corresponding plugin, delete it.

Viewing 1 replies (of 1 total)

The topic ‘Php code help ? Can't find the problem’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/php-code-help-cant-find-the-problem/#post-3083093)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
