matthewasibe
Forum Replies Created
-
Alright, well, I’ve waited over a month for a reply. I’m moving on.
Forum: Plugins
In reply to: [WC Fields Factory] Price Rules setting creates JavaScript errorAlright, well, I’ve waited over a month for a reply. I’m moving on.
Forum: Plugins
In reply to: [WC Fields Factory] Price Rules setting creates JavaScript errorFurther testing shows:
- I am able to successfully show and hide fields one by one, but this error occurs each time.
- The Javascript attempts to hide all fields on page load. It crashes on the first one, leaving all the others exposed.
- The price never updates
I looked up the error that we are getting. It seems that one of your recursive functions has a base case that cannot be met.
I would guess that this error is occurring when a field is updated after the conditional fields are shown or hidden. Maybe where the price is supposed to be updated. Once it throws the error, the rest of the Javascript on the page stops.
Trying to help as much as possible. I need to push this site live this week, and this would be a key feature for what we are offering customers.
Please help. Thanks in advance!
Forum: Plugins
In reply to: [WC Fields Factory] Price Rules setting creates JavaScript errorPlease help. Making a push to get the site live this week.
Please help. Making a push to get the site live this week.
Forum: Plugins
In reply to: [WC Fields Factory] Price Rules setting creates JavaScript errorNot fixed. Thanks for the further info.
My fields do contain field rules.
Forum: Plugins
In reply to: [WC Fields Factory] Brand new install crashed my siteHey @sarkparanjothi,
I managed to find the problem, just took me a little to find and replace. For documentation sake, this is what I did:
1. Navigated to the following file, where the error occurred:
/home/content/34/5234234/html/siberplasticssupply/wp-content/plugins/woocommerce/includes/log-handlers/class-wc-log-handler-file.php
2. At the bottom of this file, line 430 as of the date of this post, the following code was entered:
if ( ! empty( $files ) ) {
3. I changed this line to be the following:
if ( isset( $files ) ) {
4. Saved. Activated your plugin. Didn’t crash the site. If this causes any further issues, I will add to this post. As it seems right now, this issue is resolved.
Thank you for your help!
MatthewForum: Plugins
In reply to: [WC Fields Factory] Brand new install crashed my siteHey @sarkparanjothi,
I updated my servers PHP version to 5.6.
In which file should I be looking for “if( !empty(” and “if( empty(“? Is this a file you provided me? Could you give me a file path where this file is most likely found?
Then when I find the ’empty()’ functions, I should replace them with a variable called ‘$flag’, and set this variable to ’empty( $val )’ at the top of the same file?
I am not new to coding, but I don’t know the back end of WordPress well. I couldn’t find additional information on Google. Hoping you can still help me.
Thanks,
MatthewForum: Plugins
In reply to: [WC Fields Factory] Brand new install crashed my siteFor now, I have deleted your plugin from my site so I can continue working on it.
I had downloaded WordPress to my domain this morning. Shortly after, I added WooCommerce, a plugin that is a bridge to ShipWorks, and a Coming Soon plugin. Besides that, I played with the settings of these plugins and activated the coming soon page.
This is where I decided to add your plugin and the crash happened.
If you need more information from me, let me know.
Thanks.