
Fix website code
- or -
Post a project like this22
£50(approx. $69)
- Posted:
- Proposals: 15
- Remote
- #4466932
- Awarded
#1 PPH SEO Expert Pro | Gold Channel Partner | Digital Marketing, SEO, ORM, SEM Expert


Full Stack Web Development | UX/UI Responsive Designing | PHP | WordPress |Shopify |Laravel Joomla.

Full-Stack Web & Mobile App Developer With AI Integration & Automation Expertise
PPH #1 "Top Rated" Service Provider in Development & IT : Wordpress, Shopify, Magento, Squarespace, ZOHO, WHMCS, Salesforce, Vtiger, Learndash, Moodle

React Native|React|Node|APi | dashboard| Laravel | Go high Level | Flutter, SEO, PPC | Ai Automation|Webflow|Shopify|CRM|App|Zoho|


Expert Web Developer - N8N, Wordpress, Shopify, Opencart, Laravel, Vue, React, PHP

PPH's TOP Notch Website & Mobile App Developer & Designer(9+ yrs) ✔ Wordpress ✔ Shopify ✔ OpenCart ✔ Laravel ✔ PHP ✔ React Native ✔ Android ✔ iOS ✔ HTML/CSS✔Javascript/jQuery✔Responsive Design✔ASP.net




Data Science & Machine Learning Engineer | Web App developer | AI Application Development
13614111088204612876072279043012903820282495625373232318403885977857951755983612308590
Description
Experience Level: Entry
I need a WordPress developer to fix a React-based “TCO Intelligence Tool” embedded on my WordPress site (Astra/Elementor). The tool is working for me sometimes, but for normal site visitors the printer fleet list is empty (brands/models show none). My REST endpoint responds, but fleet data is not persisting/serving reliably.
Current setup
WordPress + Astra Child theme + Elementor
Custom REST endpoints in functions.php
GET /wp-json/camelott/v1/fleet (public)
POST /wp-json/camelott/v1/fleet (admin only, stores fleet in WP options table: camelott_fleet_v4)
POST /wp-json/camelott/v1/tco-enquiry (public, sends email via wp_mail + WP Mail SMTP)
The tool runs on a page using inline React/Babel via CDN
Site uses caching/security plugins (NitroPack + Solid Security). Quote/tool endpoints must be excluded from caching.
The issue
Visitors see: {"ok":true,"count":0,"fleet":[]}
I need fleet data to reliably load for ALL visitors and persist server-side.
Admin deploy should correctly save the uploaded fleet to the database (option) and then visitors should immediately see the populated fleet.
What I need you to do
Diagnose why fleet is returning empty for visitors (option not saving, wrong option key, caching, REST blocked, nonce/auth, permissions, CORS, mixed content, etc.).
Implement a robust fix:
Ensure POST saves to the correct WP option (autoload false).
Ensure GET returns the saved fleet consistently for logged-out users.
Ensure caching is bypassed for /wp-json/camelott/v1/* and the tool page (as needed).
Provide a clean, production-safe solution (no hardcoded passwords in the frontend if avoidable).
Confirm with tests:
Logged-out incognito shows brands/models populated.
Fleet persists after refresh and across devices.
No console errors.
Deliverables
Updated functions.php or a small plugin (preferred) implementing the fix safely.
Any required NitroPack/Solid Security exclusion notes.
Short handover explaining what was changed and why.
To apply, please include
Similar WordPress REST API troubleshooting experience
Your approach and expected root causes
Current setup
WordPress + Astra Child theme + Elementor
Custom REST endpoints in functions.php
GET /wp-json/camelott/v1/fleet (public)
POST /wp-json/camelott/v1/fleet (admin only, stores fleet in WP options table: camelott_fleet_v4)
POST /wp-json/camelott/v1/tco-enquiry (public, sends email via wp_mail + WP Mail SMTP)
The tool runs on a page using inline React/Babel via CDN
Site uses caching/security plugins (NitroPack + Solid Security). Quote/tool endpoints must be excluded from caching.
The issue
Visitors see: {"ok":true,"count":0,"fleet":[]}
I need fleet data to reliably load for ALL visitors and persist server-side.
Admin deploy should correctly save the uploaded fleet to the database (option) and then visitors should immediately see the populated fleet.
What I need you to do
Diagnose why fleet is returning empty for visitors (option not saving, wrong option key, caching, REST blocked, nonce/auth, permissions, CORS, mixed content, etc.).
Implement a robust fix:
Ensure POST saves to the correct WP option (autoload false).
Ensure GET returns the saved fleet consistently for logged-out users.
Ensure caching is bypassed for /wp-json/camelott/v1/* and the tool page (as needed).
Provide a clean, production-safe solution (no hardcoded passwords in the frontend if avoidable).
Confirm with tests:
Logged-out incognito shows brands/models populated.
Fleet persists after refresh and across devices.
No console errors.
Deliverables
Updated functions.php or a small plugin (preferred) implementing the fix safely.
Any required NitroPack/Solid Security exclusion notes.
Short handover explaining what was changed and why.
To apply, please include
Similar WordPress REST API troubleshooting experience
Your approach and expected root causes
Jason B.
100% (112)Projects Completed
109
Freelancers worked with
59
Projects awarded
20%
Last project
25 Jan 2026
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies