Title: gulliver's Replies | WordPress.org

---

# gulliver

  [  ](https://wordpress.org/support/users/gulliver/)

 *   [Profile](https://wordpress.org/support/users/gulliver/)
 *   [Topics Started](https://wordpress.org/support/users/gulliver/topics/)
 *   [Replies Created](https://wordpress.org/support/users/gulliver/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/gulliver/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/gulliver/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/gulliver/engagements/)
 *   [Favorites](https://wordpress.org/support/users/gulliver/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 292 total)

1 [2](https://wordpress.org/support/users/gulliver/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/gulliver/replies/page/3/?output_format=md)…
[18](https://wordpress.org/support/users/gulliver/replies/page/18/?output_format=md)
[19](https://wordpress.org/support/users/gulliver/replies/page/19/?output_format=md)
[20](https://wordpress.org/support/users/gulliver/replies/page/20/?output_format=md)
[→](https://wordpress.org/support/users/gulliver/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Load page-part with Ajax – plugin required.](https://wordpress.org/support/topic/load-page-part-with-ajax-plugin-required/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/load-page-part-with-ajax-plugin-required/#post-16546957)
 * Thankyou.
 * I’ll likely begin with an examination of the current one… which, with debug mode
   off works (albeit showing errors in debug mode). There’ll be some out of date
   code requiring attention.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Load page-part with Ajax – plugin required.](https://wordpress.org/support/topic/load-page-part-with-ajax-plugin-required/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/load-page-part-with-ajax-plugin-required/#post-16539034)
 * Thankyou.
 * It appears to be unsuitable – ‘floats on top of your website’ (rather than simply
   in a fixed header/footer part of the page) seems potentially not the function
   I require – although it could simply be a poor description because elsewhere 
   it states that Ajax is used for partial page-refresh ‘and the audio player will
   not have to be reloaded when you switch to another page’.
 * What definitely makes it unsuitable is that it’s described as ‘built exclusively
   for their own themes’ – and I don’t want their themes, nor have to bother with
   trying to ‘unpick and adapt’.
 * I’ve seen continuous-play/ajax functionality elsewhere, but again bundled with
   themes – which I don’t want.
 * I already have an appropriate player (and many are readily available). It’s the‘
   refresh page-part with Ajax’ that I’m lacking.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Load page-part with Ajax – plugin required.](https://wordpress.org/support/topic/load-page-part-with-ajax-plugin-required/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/load-page-part-with-ajax-plugin-required/#post-16535291)
 * Thanks.
 * Regarding your ‘why?’… from memory, it was simple and effective – enabling loading
   of only the relevant content. It still works fine on older php versions.
 * I didn’t use it to save pennies of bandwidth cost, or prevent the nano-second
   gap when the current page is removed to be replaced by the new one, but to enable
   a fixed div containing a radioplayer to remain in place (and thus enable continuous
   play whilst browsing the site).
 * As a marketer my tech knowledge is relatively minimal, and so when I originally
   used the plugin I wasn’t aware of potential security issues – and I wouldn’t 
   have been able to (and still can’t) determine whether the plugin was/is vulnerable.
 * As the desired setup (footer with persistent player enabling continuous play)
   is used by various high profile sites (example: TuneIn), and elsewhere various
   search/contact/cart functions are commonly handled by Ajax, and WordPress itself
   uses it on the backend, I assume (perhaps incorrectly) that the security issues
   of replacing page-parts by Ajax are solvable.
 * The required function is essential to the service/project.
    -  This reply was modified 3 years, 3 months ago by [gulliver](https://wordpress.org/support/users/gulliver/).
    -  This reply was modified 3 years, 3 months ago by [gulliver](https://wordpress.org/support/users/gulliver/).
    -  This reply was modified 3 years, 3 months ago by [gulliver](https://wordpress.org/support/users/gulliver/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Load page-part with Ajax – plugin required.](https://wordpress.org/support/topic/load-page-part-with-ajax-plugin-required/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/load-page-part-with-ajax-plugin-required/#post-16530906)
 * The only one I ever found which worked and used was Zajax.
 * I’ve not found any alternatives.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Cannot create/modify posts/pages with Gutenberg.](https://wordpress.org/support/topic/cannot-create-modify-posts-pages-with-gutenberg/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/cannot-create-modify-posts-pages-with-gutenberg/#post-16501874)
 * UPDATE: On another fresh install, things work as expected.
 * So I’ll move on and attribute the above issue to ‘technical glitch’, rather than
   try to identify the cause and find a fix.
    -  This reply was modified 3 years, 3 months ago by [gulliver](https://wordpress.org/support/users/gulliver/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [What’s the cause of this ‘Cannot redeclare’ error?](https://wordpress.org/support/topic/whats-the-cause-of-this-cannot-redeclare-error/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years ago](https://wordpress.org/support/topic/whats-the-cause-of-this-cannot-redeclare-error/#post-10329827)
 * [@juan2machado](https://wordpress.org/support/users/juan2machado/)… thanks.
 * Yes, I know the cause of a ‘cannot redeclare’ message is that it’s already been
   used)… and I’m familiar with these when, for example, I’ve moved a function to
   a different file but forgotten to delete the original instance.
 * But, as noted, the files are identical to ones I use on other sites – and for
   which no errors are triggered.
 * And further, the ‘previously declared’ reference is to the same file!
 * For example, if I create a test file (test.php), containing just this code:
 *     ```
       <?php
   
       function maintenance_mode()
       {
       if ( !current_user_can( 'edit_themes' ) || !is_user_logged_in() ) {
       wp_die('<img src="/graphics/header/logo/1.png" />
       <p><strong>Site temporarily offline for maintenance.</strong> </p>' );
       } }
       add_action( 'get_header', 'maintenance_mode' );
       ```
   
 * It triggers an error of ‘Fatal error: Cannot redeclare maintenance_mode() (previously
   declared in [path to]/functions/admin/test.php:5) in [path to]/functions/admin/
   test.php on line 8’. And, when I rename that ‘admin’ folder the error doesn’t
   appear.
 * Moreover… every function in an ‘admin’ sub-folder triggers a ‘cannot redeclare’
   error, but not if that folder is renamed. (Again, as noted, I use an identical
   structure on my other sites without problem.)
 * UPDATE: Issue fixed – my error (of course!).
 * The cause was that I’d inadvertently not deleted an earlier file which used non-
   recursive code (with a hard-coded reference to ‘/functions/admin/’) to include
   sub-folder files.
    -  This reply was modified 8 years ago by [gulliver](https://wordpress.org/support/users/gulliver/).
    -  This reply was modified 8 years ago by [gulliver](https://wordpress.org/support/users/gulliver/).
    -  This reply was modified 8 years ago by [gulliver](https://wordpress.org/support/users/gulliver/).
    -  This reply was modified 8 years ago by [gulliver](https://wordpress.org/support/users/gulliver/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Shopping Cart] Any way to not require delivery address?](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years ago](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/#post-10322656)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Thanks.
 * I’ll say ‘no’, because I don’t think there’s a quick fix to what’s likely to 
   be a short term issue.
 * 🙂
    -  This reply was modified 8 years ago by [gulliver](https://wordpress.org/support/users/gulliver/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Shopping Cart] Any way to not require delivery address?](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years ago](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/#post-10321977)
 * >Are you looking for an alternative plugin?
 * yes.
 * And I’m aware of Wp eStore – which may be a more suitable (for my requirements)
   alternative to Woo (which can be a needlessly complex pain to tweak).
 * My cart/buy requirement is simple and easily handled – it’s the backend records/
   contact that’s important to me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Shopping Cart] Any way to not require delivery address?](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years ago](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/#post-10321856)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * Thanks.
    Sorry for slow reply – I’m not getting notifications.
 * I have that option ‘off’ (it was an obvious thing to do).
 * And, on reflection, I may be confused… although the PayPal page requests a ‘deliver’
   to’ address be selected, I don’t know whether this is triggered by WPSPC or is
   a PayPal default.
 * I appreciate your help, but don’t want either of us to dwell… I need to get a
   proper ecommerce process (woo/similar) in place and so this should be just a 
   short term issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Shopping Cart] Any way to not require delivery address?](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/#post-10308431)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/)… no, the opposite.
 * Using a PayPal button/cart, the buyer isn’t asked for an address.
 * Using WPSPC, the PayPal page requests an delivery address be chosen.
 * So, if I could find a way to have WPSPC behave differently (and i’ve not yet 
   looked through the code to see what could be disabled without breaking things),
   I’d be happy.
 * I like WPSPC – easy to setup and with decent features that’d be good in a paid-
   for plugin and which is excellent for a free one.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Shopping Cart] Any way to not require delivery address?](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/any-way-to-not-require-delivery-address/#post-10306533)
 * [@mbrsolution](https://wordpress.org/support/users/mbrsolution/)…Thanks. Yes 
   I did – but saw no such option (although I may have missed something).
 * (And, in a quick test, the default PayPal cart behavior doesn’t require an address.)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Plugin works on one site, but not another.](https://wordpress.org/support/topic/plugin-works-on-one-site-but-not-another/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/plugin-works-on-one-site-but-not-another/#post-10298314)
 * [@te_taipo](https://wordpress.org/support/users/te_taipo/)
 * External Featured Image Plus ([https://en-gb.wordpress.org/plugins/external-featured-image-pro/](https://en-gb.wordpress.org/plugins/external-featured-image-pro/)).
 * It’s been a good plugin, but is now throwing debug and other errors.
 * I’d understand if it worked with TwentySeventeen but not my custom theme. And
   I can’t understand why with the same theme/plugin set-up one site will work but
   not another. (And they’re all on the same server.)
 * I’ve this morning found and adapted alternate code (which enables me to add an
   image to posts/pages through the edit screen, without using the media library)
   and so I won’t spend a lot of time on this… but I’m curious, and hence posted.
 * And, this’ll sound nuts… recently I’ve had various now-it-works now-it-doesn’t
   issues with various things – some of which are explicable, while others seemingly
   have no logical reason.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How can I restore the toolbar to the front end?](https://wordpress.org/support/topic/how-can-i-restore-the-toolbar-to-the-front-end/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/how-can-i-restore-the-toolbar-to-the-front-end/#post-10280488)
 * UPDATE: now resolved… after getting a ‘ERROR: Cookies are blocked or not supported
   by your browser. You must enable cookies to use WordPress.’, further checks suggest
   this might have been an issue with the SSL not auto-redirecting (from http://
   to [https://](https://wordpress.org/support/users/gulliver/replies/?output_format=md)).
 * Having had the issue on various different browsers (with repeated cache-clears)
   on desktop/tablets, I remain mystified.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How can I restore the toolbar to the front end?](https://wordpress.org/support/topic/how-can-i-restore-the-toolbar-to-the-front-end/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/how-can-i-restore-the-toolbar-to-the-front-end/#post-10280384)
 * Thanks.
 * It was one of the first things I checked – but no effect. There’s clearly something
   very odd happening.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Where to place ‘No posts’ else statement.](https://wordpress.org/support/topic/where-to-place-no-posts-else-statement/)
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/where-to-place-no-posts-else-statement/#post-10253704)
 * UPDATE: Sorted (I think)…
 * Modified portion of above code is:
 *     ```
       } // end if
   
       else {
       echo '<p>(No posts match the criteria.)</p>';
       }
   
       // reset.
       wp_reset_postdata();
       ```
   
 * I normally use a different loop format, and this one is unfamiliar.
    -  This reply was modified 8 years, 1 month ago by [gulliver](https://wordpress.org/support/users/gulliver/).

Viewing 15 replies - 1 through 15 (of 292 total)

1 [2](https://wordpress.org/support/users/gulliver/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/gulliver/replies/page/3/?output_format=md)…
[18](https://wordpress.org/support/users/gulliver/replies/page/18/?output_format=md)
[19](https://wordpress.org/support/users/gulliver/replies/page/19/?output_format=md)
[20](https://wordpress.org/support/users/gulliver/replies/page/20/?output_format=md)
[→](https://wordpress.org/support/users/gulliver/replies/page/2/?output_format=md)