Fields added in WordPress Pages do not appear on the Live site or Preview Changes

Hi Experts
On my Live site I am trying to add some new Fields to my pages Like Image text etc
but when added these Fields  in WordPress Pages it not appear on the Live site or Preview Changes however they appear in Wordpress Page  Editor
MASWORLDAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Terry WoodsIT GuruCommented:
If you have a caching plugin active in WordPress, you may need to clear the cache from the Dashboard then refresh the frontend page in your browser. Most caching plugins I've seen add a link for clearing the cache to the bar at the top of the page when you're viewing the Dashboard.
MASWORLDAuthor Commented:
Thanks Terry
i installed WP Super Cache and clear Cache Contents but nothing happens
Terry WoodsIT GuruCommented:
Perhaps you could open your browser's dev tools and check the console for any javascript errors appearing on the Edit Page?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
I'd take Terry's suggestion one step further.

1) Clear your cache.

2) Disable your WordPress caching plugin during development.

3) Disable your PHP Opcache caching during development (far more maddening than WordPress caching problems).

4) Enable WP_DEBUG in your wp-config.php file + check your debug file first, whenever you hit a problem.

For the problem you describe, I'd camp on the debug.log file (as in tail -f debug.log) + then test every step of your process, like watching what emits in your debug file when you hit save or publish.

If you can't camp on your debug file (no ssh access), then you have two other options.

1) Do one operation + download your debug file via SFTP + review changes.

2) Mount your WordPress DocumentRoot (install directory) onto your local machine (use curlftpfs) so you can camp on your remote log from your local machine.

Sounds like possibly a database error being thrown, which isn't reported correctly.

Ah... Also be sure you're running latest WordPress, which today is 4.9.8 so you have all recent bug fixes installed.
MASWORLDAuthor Commented:
Thanks all
@David Favor
after enable debugging mode i got this error
Warning: count(): Parameter must be an array or an object that implements Countable in /home/j6tiri37j06d/public_html/mydomain.com/wp-includes/post-template.php on line 284
MASWORLDAuthor Commented:
and this

Warning: Declaration of Nav_Walker_Nav_Menu::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /home/j6tiri37j06d/public_html/mydomain.com/wp-content/themes/mydomain/functions.php on line 514
Andy EdwardsDevelopment ManagerCommented:
Hi there if you are adding fields have you updated the template to display them? When adding fields to post types in wordpress you need to call the get_pos_meta function more information here https://developer.wordpress.org/reference/functions/get_post_meta/

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.