cravaus
Forum Replies Created
-
It is the caching that is the problem. If I disable caching it stops.
Thanks I am back up and running.
Forum: Plugins
In reply to: [Wordfence Security - Firewall, Malware Scan, and Login Security] 2FA IssuesHello Peter,
I have updated to PHP7.4 and so things move a little faster. I have tried 2FA again and now I am only noticing that on my login page (Theme-My-Login) I have to hit my log in button twice to make it work. And in the console, I do not see any significant errors:
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. login JQMIGRATE: Migrate is installed, version 3.3.2 jquery-migrate.min.js:2:709 Some cookies are misusing the recommended “SameSite“ attribute 3 init popups ? pum-site-scripts.js:7:12349 plugin scripts activated scripts.js:6:11 Source map error: Error: request failed with status 404 Resource URL: https://www.mysite.com/wordpress/wp-content/themes/shapely/assets/css/bootstrap.min.css?ver=5.8.2 Source Map URL: bootstrap.min.css.map Cookie “enforce_policy” has been rejected because it is already expired.
On the second hit of the Login button I get this:
Cookie “_fbp” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite fbevents.js:24:77394 This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. pm JQMIGRATE: Migrate is installed, version 3.3.2 jquery-migrate.min.js:2:709 init popups ? pum-site-scripts.js:7:12349 plugin scripts activated scripts.js:6:11 Some cookies are misusing the recommended “SameSite“ attribute 2 Source map error: Error: request failed with status 404 Resource URL: https://www.mysite.com/wordpress/wp-content/themes/shapely/assets/css/bootstrap.min.css?ver=5.8.2 Source Map URL: bootstrap.min.css.map Cookie “enforce_policy” has been rejected because it is already expired. log
Thanks for your reply.
1) the /xmlrpc.php file is in the root. If I run
https://www.craigtuckerlcsw.com/wordpress/xmlrpc.php
I get: XML-RPC server accepts POST requests only.
I think this means XML-RPC is already enabled and working.
2) I use Wordfence but I am not blocking XML-RPC with it. And when I disabled all other plugins, including Wordfence, I still could not connect with Jetpack. I do not see any rules in .htaccess for <Files “xmlrpc.php”>.
3) I am hosting the site my self. It was working fine until the latest Jetpack update. I made no adjustments to my server. And if it was blocked by my server I do not think I should be able to access https://www.craigtuckerlcsw.com/wordpress/xmlrpc.php at all.
Within the console when I hit the “set up jetpack” button I get this:
/wp-json/jetpack/v4/connection/register:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
admin.js?ver=10.3:58 Uncaught (in promise) ApiError: Unable to insert blog. Please try again or contact support. (Status 500)
at admin.js?ver=10.3:58I am not sure what to do next.
I also disabled my theme and moved to twenty-twentytwo. NO change. I am looking in my connsole and see this:
?
admin.js?ver=10.3:58 POST https://www.craigtuckerlcsw.com/wp-json/jetpack/v4/connection/register 500 (Internal Server Error)
admin.js?ver=10.3:58 Uncaught (in promise) ApiError: Unable to insert blog. Please try again or contact support. (Status 500)
at admin.js?ver=10.3:58### wp-core ### version: 5.8.2 site_language: en_US user_language: en_US timezone: America/Los_Angeles permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 1 blog_public: 1 default_comment_status: closed environment_type: production user_count: 385 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /volume1/web/wordpress wordpress_size: 319.63 MB (335154820 bytes) uploads_path: /volume1/web/wordpress/wp-content/uploads uploads_size: 216.59 MB (227112191 bytes) themes_path: /volume1/web/wordpress/wp-content/themes themes_size: 21.28 MB (22315260 bytes) plugins_path: /volume1/web/wordpress/wp-content/plugins plugins_size: 297.71 MB (312167704 bytes) database_size: 152.62 MB (160033992 bytes) total_size: 1,007.83 MB (1056783967 bytes) ### wp-dropins (1) ### advanced-cache.php: true ### wp-active-theme ### name: Shapely Child (shapely-child) version: 1.2.4 author: colorlib author_website: (undefined) parent_theme: Shapely (shapely) theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, custom-logo, custom-header, title-tag, post-thumbnails, menus, html5, custom-background, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, infinite-scroll, jetpack-responsive-videos, widgets theme_path: /volume1/web/wordpress/wp-content/themes/shapely-child auto_update: Disabled ### wp-parent-theme ### name: Shapely (shapely) version: 1.2.14 author: colorlib author_website: https://colorlib.com/ theme_path: /volume1/web/wordpress/wp-content/themes/shapely auto_update: Disabled ### wp-themes-inactive (3) ### Shapely: version: 1.2.8, author: colorlib, Auto-updates disabled Twenty Twenty: version: 1.8, author: the WordPress team, Auto-updates disabled Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled ### wp-mu-plugins (1) ### Disable XML-RPC Pingback: version: 1.1, author: Samuel Aguilera ### wp-plugins-active (3) ### Jetpack: version: 10.3, author: Automattic, Auto-updates disabled Maintenance: version: 4.03, author: WebFactory Ltd, Auto-updates disabled WP-Optimize - Clean, Compress, Cache: version: 3.1.12, author: David Anderson, Ruhani Rabin, Team Updraft, Auto-updates disabled ### wp-plugins-inactive (65) ### Add Categories to Pages.: version: 1.2, author: a.ankit, Auto-updates disabled All in One SEO: version: 4.1.5.2, author: All in One SEO Team, Auto-updates disabled Amelia: version: 4.3.1, author: TMS, Auto-updates disabled ARVE Advanced Responsive Video Embedder: version: 9.5.14, author: Nicolas Jonas, Auto-updates disabled Conditional Menus: version: 1.1.9, author: Themify, Auto-updates disabled Contact Form 7: version: 5.5.2, author: Takayuki Miyoshi, Auto-updates disabled Contact Form DB: version: 2.10.36, author: Michael Simpson, Auto-updates disabled CT-Functions: version: 1.0, author: Craig Tucker, Auto-updates disabled ct-js-css: version: 1.0, author: Craig Tucker, Auto-updates disabled CT-Map-Fields-to-Field: version: 1.0, author: Craig Tucker, Auto-updates disabled CT-Messages Creator: version: 1.0, author: Craig Tucker, Auto-updates disabled Disable Admin Notices Individually: version: 1.2.7, author: Creative Motion <[email protected]>, Auto-updates disabled Display PHP Version: version: 1.7, author: David Gwyer, Auto-updates disabled Flexible Map: version: 1.17.1, author: WebAware, Auto-updates disabled Force First and Last Name as Display Name: version: 1.2, author: Stranger Studios, Auto-updates disabled Front End PM PRO: version: 11.3.3, author: Shamim Hasan, Auto-updates disabled Git Updater: version: 10.6.6, author: Andy Fragen, Auto-updates disabled Gravity Forms: version: 2.5.15, author: Gravity Forms, Auto-updates disabled Gravity Forms Coupons Add-On: version: 3.0, author: Gravity Forms, Auto-updates disabled Gravity Forms Entries Inventory Management: version: 1.0.0, author: Marius Vetrici, Auto-updates disabled Gravity Forms Gutenberg Add-On (Experimental): version: 1.0-rc-1.4, author: rocketgenius, Auto-updates disabled Gravity Forms Mailchimp Add-On: version: 5.0, author: Gravity Forms, Auto-updates disabled Gravity Forms Mc Unique ID Generator Field (Lite): version: 2.10, author: Modular Coding Inc., Auto-updates disabled Gravity Forms PayPal Standard Add-On: version: 3.5, author: Gravity Forms, Auto-updates disabled Gravity Forms Quiz Add-On: version: 3.8, author: Gravity Forms, Auto-updates disabled Gravity Forms Signature Add-On: version: 4.1, author: Gravity Forms, Auto-updates disabled Gravity Forms Survey Add-On: version: 3.7, author: Gravity Forms, Auto-updates disabled Gravity Forms Tooltips: version: 2.0.5, author: Andrew Norcross, Auto-updates disabled Gravity Forms User Registration Add-On: version: 4.9, author: Gravity Forms, Auto-updates disabled Gravity PDF: version: 6.1.0, author: Gravity PDF, Auto-updates disabled Gravity PDF Core Booster: version: 1.3.3, author: Gravity PDF, Auto-updates disabled hideShowPassword: version: 2.0.1, author: Barry Ceelen, Auto-updates disabled Insert Pages: version: 3.7.0, author: Paul Ryan, Auto-updates disabled Invoices for WooCommerce: version: 3.1.9, author: Bas Elbers, Auto-updates disabled Mailchimp for WooCommerce: version: 2.5.4, author: Mailchimp, Auto-updates disabled Master Slider: version: 3.7.10, author: averta, Auto-updates disabled Nav Menu Roles: version: 2.0.1, author: Kathy Darling, Auto-updates disabled Page Links To: version: 3.3.5, author: Mark Jaquith, Auto-updates disabled Page Restrict: version: 2.5.3, author: Matt Martz & Andy Stratton, Auto-updates disabled Popup Maker: version: 1.16.3, author: Popup Maker, Auto-updates disabled Post SMTP: version: 2.0.23, author: Yehuda Hassine, Auto-updates disabled Preloader: version: 1.0.9, author: Alobaidi, Auto-updates disabled Shapely Companion: version: 1.2.6, author: Colorlib, Auto-updates disabled Shortcake (Shortcode UI): version: 0.7.4, author: Fusion Engineering and community, Auto-updates disabled Simple History: version: 2.43.0, author: P?r Thernstr?m, Auto-updates disabled Sunset Patient Portal: version: 1.4, author: Rod Roark, Auto-updates disabled SWE Country Code Field GF Add-On: version: 2.1.0, author: SanjayWebExpert, Auto-updates disabled Theme My Login: version: 7.1.3, author: Theme My Login, Auto-updates disabled Unconfirmed: version: 1.3.5, author: Boone B Gorges, Auto-updates disabled User Role Editor: version: 4.60.2, author: Vladimir Garagulya, Auto-updates disabled User Shortcodes Plus: version: 2.0.2, author: Kyle B. Johnson, Auto-updates disabled WooCommerce: version: 5.9.0, author: Automattic, Auto-updates disabled WooCommerce PayPal Payments: version: 1.6.2, author: WooCommerce, Auto-updates disabled WooCommerce Shipping & Tax: version: 1.25.20, author: WooCommerce, Auto-updates disabled Woody code snippets (PHP snippets | Insert PHP): version: 2.4.2, author: Creative Motion, Will Bontrager Software, LLC <[email protected]>, Auto-updates disabled Wordfence Assistant: version: 1.0.9, author: Wordfence, Auto-updates disabled Wordfence Security: version: 7.5.7, author: Wordfence, Auto-updates disabled WP-Invoice: version: 4.3.1, author: Usability Dynamics, Inc., Auto-updates disabled WP-Invoice: PDF: version: 2.1.5, author: Usability Dynamics, Inc., Auto-updates disabled WP Crontrol: version: 1.12.0, author: John Blackbourn & crontributors, Auto-updates disabled WP Force SSL: version: 1.57, author: WebFactory Ltd, Auto-updates disabled WP HTML Mail - Email Template Designer: version: 3.0.9, author: Hannes Etzelstorfer // codemiq, Auto-updates disabled WP Rollback: version: 1.7.1, author: Impress.org, Auto-updates disabled WP Webhooks: version: 3.2.1, author: Ironikus, Auto-updates disabled YYDevelopment - Show Pages ID: version: 1.5.3, author: YYDevelopment, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 128M upload_max_filesize: 128M max_effective_size: 128 MB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, BMP ghostscript_version: not available ### wp-server ### server_architecture: Linux 4.4.59+ x86_64 httpd_software: Apache/2.4.43 (Unix) php_version: 7.3.24 64bit php_sapi: fpm-fcgi max_input_variables: 3000 time_limit: 2000 memory_limit: 750M max_input_time: 300 upload_max_filesize: 128M php_post_max_size: 128M curl_version: 7.54.0 OpenSSL/1.0.2u suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 10.3.24-MariaDB client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /volume1/web/wordpress/wp-content WP_PLUGIN_DIR: /volume1/web/wordpress/wp-content/plugins WP_MEMORY_LIMIT: 750M WP_MAX_MEMORY_LIMIT: 750M WP_DEBUG: false WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: false COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable ### jetpack ### site_id: false ssl_cert: No time_diff: undefined version_option: 10.3:1638023818 old_version: 10.3:1637999388 public: Private master_user: No master user set. current_user: #1 craigtuckerlcsw tokens_set: None blog_token: Not set. user_token: Not set. version: 10.3 jp_plugin_dir: /volume1/web/wordpress/wp-content/plugins/jetpack/ plan: free protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Thu, 01 Jan 1970 00:00:00 +0000","finished":"Thu, 01 Jan 1970 00:00:00 +0000","progress":[],"config":[]} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/www.craigtuckerlcsw.com\/","siteurl":"https:\/\/www.craigtuckerlcsw.com\/wordpress","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass.
Yes it was working with 2.9.9. I have been using Peter’s Login on my website for more than 10 years. I did nothing other than update. When I updated to the newest, it failed. It was great for 10 years. No problems. But the redirect on first log in is a must for me and I had two new customers who were very confused when the redirect to my intake forms did not take place. At first I rolled back to 2.9.9 and that gave me the feature again with Peter’s code for redirect on first login. It worked again. But I cannot risk the feature dropping out again. So, I just coded in my redirects my self in functions.php and deleted the plugin.
Forum: Reviews
In reply to: [WooCommerce] Website Crashed after update to Ver. 4.4.0My site also crashed on 4.4.0 and had to be restored to 4.3.3. I am running WP 5.5 on php 7.3.
I am one more noticing missing options in this appearance tab for label alignment. I only see top align and hide.
Forum: Plugins
In reply to: [WP-Invoice - Web Invoice and Billing] Generate invoice with APIMy solution given that I am trying to integrate with Gravity Forms and I am already within the server is to do this:
<?php include ( "wp-load.php" ); $args = array( 'subject' => 'Test API Invoice', 'description' => 'Invoice descriptive information.', 'type' => 'invoice', 'user_data' => array( 'user_email' => '[email protected]', 'first_name' => 'Lary', 'last_name' => 'Test' ), 'deposit' => 15.99, 'due_date' => array( 'month' => '09', 'day' => '10', 'year' => '2013' ), 'currency' => 'USD', 'tax' => 10.5, 'tax_method' => 'after_discount', 'status' => 'active', 'discount' => array( 'name' => 'Your Discount', 'type' => 'amount', 'amount' => 1.20 ), 'items' => array( array( 'name' => 'Test item 1', 'description' => 'Item 1 description', 'quantity' => 2, 'price' => 2.65, 'tax_rate' => 1 //global 'tax' will be used in order to priority ), array( 'name' => 'Test item 2', 'description' => 'Item 2 description', 'quantity' => 4, 'price' => 3.85 ) ), 'charges' => array( array( 'name' => 'Fee 1', 'amount' => 0.56 ), array( 'name' => 'Fee 2', 'amount' => 0.99, 'tax' => 15 //global 'tax' will be used in order to priority ) ) ); $WPI_XMLRPC_API = new WPI_XMLRPC_API(); $new_invoice = $WPI_XMLRPC_API->create_invoice($args);
It does the job and I can build a function to gather the form field data from my gravity form and replace the values with variables from the form and have an invoice created. Perfect.
- This reply was modified 5 years, 6 months ago by cravaus.
Forum: Plugins
In reply to: [WP-Invoice - Web Invoice and Billing] Generate invoice with APIOr perhaps there is a better way to generate an invoice on submit of my gravity form. Perhaps the API is not needed if I am within the same site. Are there already functions, hooks, filters, that I can use within the plug in to submit an invoice?
Forum: Plugins
In reply to: [WP-Invoice - Web Invoice and Billing] I cannot dismiss your reminder banner.I am not using a cache plugin. They break my site.
Found the answer here: https://help.xyzscripts.com/docs/insert-php-code-snippet/faq/can-i-embed-the-php-snippet-into-my-template-file/
What I have done is this:
$shortcodetoadd = ‘[addthis]’;
echo do_shortcode($shortcodetoadd);
I have the same issue. I am using insert php to build my shortcode. How can we escape it to work in the page using the new snippet method?
I am just working with PayPal. I have tried for weeks to get it to work. I may have missed something but I checked over the settings multiple times and started going backwards through your code trying to see how it all works. Something is not working at the end of the sandbox routine. The IPN handshake takes place. It will not do the redirect (I see that this is a common problem in the sandbox) and the callback_function is not triggered. I know that it is delivered in the array to the sandbox. Following the sequence in the console in Firefox after payment, I was not able to discern precisely what was coming back to me. That is as far as I was willing to go after weeks of no progress on my project. I could find no reason in you code for it not to work at least live.
I then tested it live and all is well. I did a print_r on the $transaction_data to see what all I could work with there. This SPC with the call back function is a really cool feature. I wish you would have documented it a little better. Also I see that there are switches to turn off components of the shortcode template but I could not figure out how to use them. I ended up using CSS to turn off the components. I just wanted the button to show up with no form. I suppose I could have used your switches but all you have done for me in the documentation is point to the fact that the switches are there without telling me what they are or how to use them. I would have prefered using the switches and keeping my page clean. So, as a developers tool that would make me happier with WP-Invoice.
At any rate, thanks for the program it is working well. I finished my project and all is working great!