0

I have a wordpress site wordpress version is "3.8.26". My php version is 7.

when am adding new post to my site its not displaying "publish button" its showing "Submit for review". button enter image description here

And categories also not displaying in the wp-admin page right side.

Anybody could you please help me to resolve the issue.

enter image description here

Thank you.

if i submit for review button it will display

enter image description here

10
  • Which post type you are looking? Is it default page, post or something custom post type? Commented Jul 23, 2018 at 10:57
  • I have a category , I want to post related to the category.
    – Gireesh T
    Commented Jul 23, 2018 at 10:59
  • Hi Baikare Sandeep I have attache a snapshot. while adding a post via wp-admin its showing submit for a review. my wordpress version is old. but am using latest php version (7). I dont know what to do next. the right side category also not displaying .
    – Gireesh T
    Commented Jul 23, 2018 at 11:05
  • this doesn't look like WordPress 3.8, would that rather be 4.8 ?
    – mmm
    Commented Jul 23, 2018 at 11:20
  • your saying from our side need to update the wordpress?
    – Gireesh T
    Commented Jul 23, 2018 at 11:22

1 Answer 1

0

I recommend to try by debugging the code, might be there is an issue because of a New version of PHP. Try by writing this code into the wp-config.php file and see what if any error:


 // Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', true);
@ini_set( 'display_errors', 1 );

// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

NOTE: You must insert this BEFORE /* That's all, stop editing! Happy blogging. */ in the wp-config.php file

3
  • I tried with the above mentioned suggestion. It's not displaying error /warning.
    – Gireesh T
    Commented Jul 23, 2018 at 17:34
  • But the same project working fine in PHP 5 version . Am not changed anything. Just I moved the same project to PHP 7 server. I thought everything will work there.
    – Gireesh T
    Commented Jul 23, 2018 at 17:37
  • Make sure you have updated both constants true define( 'WP_DEBUG_DISPLAY', true ); @ini_set( 'display_errors', 1 ); , and see once or see on this location for log file: /wp-content/debug.log Commented Jul 24, 2018 at 9:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.