Forum Replies Created

Viewing 15 replies - 16 through 30 (of 38 total)
  • Thread Starter supadigital

    (@supadigital)

    @takayukister – You might have just made my life 100 times easier! THANK YOU! So what your are saying is that I can create a custom field for campaign_id and then simply default the form campaign_id to that field using the GET function in the form…. I think is what you are saying.

    I will give this a go and let you know how it goes. But I understand the logic and I will be able to create a custom field. So hopefully the GET function picks out the field once defined on each product page.

    THANK YOU 1 million times! Much appreciated!

    Thread Starter supadigital

    (@supadigital)

    @takayukister Thank you so much for your response.

    Basically, the forms are being used for lead generation website. Each form has to have a specific campaign ID manually set within the form itself as a hidden field that gets sent to an external API.

    The forms are used on different “product” pages (each with a unique campaign ID) that capture user’s data. So we need a form for each different “product”.

    You can see what I mean if you visit the site (currently staging) and navigating to the various INSURANCE, MONEY or AUTO menu options and clicking on GET A QUOTE for each product:

    Website: https://www.staging.switchsaver.co.za/

    Sample Product page with form: https://www.staging.switchsaver.co.za/fsp-products/assupol-funeral-insurance-2/

    I didn’t want to define a campaign id in the product page URLs, so each form needs to be unique for each product.

    Hope this makes sense. If you have a better way of assigning a campaign ID to each form for each product, I would love to hear your thoughts ??

    Thanks again!

    Thread Starter supadigital

    (@supadigital)

    Provided a positive review just now. Thanks so much once again!

    Thread Starter supadigital

    (@supadigital)

    Hi

    Firstly, thanks for the SUPER quick response. And secondly, this makes sense and I will implement accordingly. Thanks you so much for your assistance. Very much appreciated!! You rock!

    Thread Starter supadigital

    (@supadigital)

    @benniledl

    Hi again

    Just a quick heads-up that I managed to sort this out. Basically, I tried the manual install by uploading to the client server over and over and it kept giving issues. So what I did was create a fresh install on my own server using the softaculous wordpress installer in CPANEL. Then I simply transferred the /content folder and the wp-config file to the new installation on my server. So all the other rubbish that was in the htaccess and root folder and stuff was no longer present and everything was a-okay from thereon in.

    Just wanted to take this opportunity to thank you so much for your assistance, it is very much appreciated. Keep up the good work and keep doing what you’re doing!

    Thanks man!

    Thread Starter supadigital

    (@supadigital)

    @benniledl

    Thanks so much for the code and assistance once again.

    I have done as requested and there were no timezones or anything displayed at the top of the page or anywhere else.

    Does this mean that the manual update was incomplete possibly, or that there is an error in the database or something? Should I attempt to re-install the update package?

    Let me know next steps and I will do the necessary as well as sponsor you a beer once this is all sorted. haha. Thanks so much. I look forward to your next steps.

    Thread Starter supadigital

    (@supadigital)

    @benniledl
    Thanks so much.

    I also thought it had something to do with timezone at one stage, so I went to set the timezone on the general settings page, BUT, I also get an error on that page in the backend and the “Save settings” button is not available as a result, so I am unable to edit any settings on this page. The page displays as normal and the current timezone is set to UTC, but then the date format option just shows a single bullet/dot that I am able to select, but then displays a critical error message immediately thereafter without actually listing any of the date option:

    ‘Date Format

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.’

    Is it possible to somehow set the date format and timezone manually via the database or something? Or do you have any other ideas? Bearing in mind that this is all as a result of updating manually to latest version of wordpress from an older version that wasn’t compatible with php8.0 which is now a compulsory php version as the host has deprecated 7.4 and older.

    Thanks so much. Any further ideas would be greatly appreciated.

    Thread Starter supadigital

    (@supadigital)

    @benniledl

    Thanks so much for the clarification. I have added the code where you requested, and then error remains:

    Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /usr/www/users/therucnvps/wp-admin/update-core.php:1046 Stack trace: #0 {main} thrown in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1046

    There is no test_debug file in the wp-admin folder thereafter either.

    PLEASE NOTE: I am unable to trigger any updates as the updates are not listed on the updates page. Literally all I get when opening the UPDATES page in the backend is this:

    WordPress Updates
    Here you can find information about updates, set auto-updates and see what plugins or themes need updating.
    
    Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /usr/www/users/therucnvps/wp-admin/update-core.php:1046 Stack trace: #0 {main} thrown in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1046
    There has been a critical error on this website. Please check your site admin email inbox for instructions.
    
    Learn more about troubleshooting WordPress.

    That’s all that displays.

    I added your code at the following surrounding code just for clarification:

    $last_update_check = true;
    	$current           = get_site_transient( 'update_core' );
            file_put_contents("test_debug.log", "current->last_checked : ".gettype('$current->last_checked')." ".$current->last_checked."\n get_option( gmt offset ): ".gettype(get_option('gmt_offset')*HOUR_IN_SECONDS)." ".get_option('gmt_offset') * HOUR_IN_SECONDS);
    	if ( $current && isset( $current->last_checked ) ) {
    		$last_update_check = $current->last_checked + get_option( 'gmt_offset' ) * HOUR_IN_SECONDS;
    	}
    
    	echo '<h2 class="wp-current-version">';
    	/* translators: Current version of WordPress. */
    	printf( __( 'Current version: %s' ), get_bloginfo( 'version' ) );
    	echo '</h2>';

    Apologies if I’m doing something incorrectly. I look forward to your thoughts once again. Thanks so much.

    Thread Starter supadigital

    (@supadigital)

    @benniledl
    Thanks again for your response and assistance thus far.

    I added the code and received the following slightly more lengthy error:

    Warning: Undefined variable $current in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1043 Warning: Attempt to read property "last_checked" on null in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1043 Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /usr/www/users/therucnvps/wp-admin/update-core.php:1043 Stack trace: #0 {main} thrown in /usr/www/users/therucnvps/wp-admin/update-core.php on line 1043
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Please let me know your thoughts. And again – thanks so much for your assistance thus far.

    Thread Starter supadigital

    (@supadigital)

    @benniledl

    Thanks so much for responding. And apologies, I thought I’d copied the entire error.

    I have debug enabled and when I visit the WordPress Updates page, this is the full error I get:

    Fatal error: Uncaught TypeError: Unsupported operand types: string * int in /usr/www/users/######/wp-admin/update-core.php:1047 Stack trace: #0 {main} thrown in /usr/www/users/#####/wp-admin/update-core.php on line 1047
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Any assistance massively appreciated. Thanks so much.

    PS: No errors on frontend.

    • This reply was modified 1 year, 11 months ago by supadigital.
    Thread Starter supadigital

    (@supadigital)

    Awesome. Thanks so much. It seems we are sorted. Much appreciated.

    Thread Starter supadigital

    (@supadigital)

    Hi Prashant

    Thank you so much for the response, and a detailed one at that – it is VERY MUCH appreciated.

    We will have a look at your recommended solutions and be sure to shout if we continue to struggle.

    Thanks so much!

    Thread Starter supadigital

    (@supadigital)

    @keraweb

    Your solution has almost literally saved my life. Thank you so much! All is sorted in this regard.

    Thread Starter supadigital

    (@supadigital)

    Good afternoon @keraweb

    THANK YOU so much for clarifying the syntax for me. Very very much appreciated. I haven’t tried it out just yet, BUT I will today and I am fairly certain that it will work as I can see where I have been going wrong.

    Thanks so much. It’s always so great to get assistance from people who are willing to help out strangers who aren’t necessarily even paying for a product (yet). Really cool of you. Thank you.

    Have a great day/week ahead!

    Thread Starter supadigital

    (@supadigital)

    hi @keraweb

    Thanks so much for your response.

    Most of the videos you have suggested link to Elementor Pro use of dynamic content within Elementor widgets. However, I am using FREE Elementor and I am using the PODS LIST widget to display the listed PODS. I have also tried using the PODS shortcode for this without success.

    The thing is the PODS show correctly until I include the WHERE statement in the widget settings. Then it breaks. So I am wondering what is the correct syntax to use in the PODS widget for the WHERE statement?

    If you could assist/advise on this, it would be massively appreciated.

    Thanks in advance ??

Viewing 15 replies - 16 through 30 (of 38 total)