paralleljames
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress 5.3 and Classic Editor – upload files via post not workingI have had this reported by a user of a site I manage as well. If you don’t click on “Upload Files” and instead just drag the file into the media library does this upload for you? When I tried that it worked for me.
What I do note in the console logs when clicking on the “Upload Files” in the image popup I get
Uncaught TypeError: Cannot convert undefined or null to object from the file load-scripts.php
Uncaught TypeError: Cannot convert undefined or null to object at g.cleanup (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,underscor&load[chunk_1]=e,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,jquery-ui-tooltip&ver=5.3:66) at g.off (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,underscor&load[chunk_1]=e,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,jquery-ui-tooltip&ver=5.3:66) at r (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,underscor&load[chunk_1]=e,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,jquery-ui-tooltip&ver=5.3:66) at l (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,underscor&load[chunk_1]=e,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,jquery-ui-tooltip&ver=5.3:66) at h.Collection.n.off (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,underscor&load[chunk_1]=e,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,jquery-ui-tooltip&ver=5.3:66) at i.c.<computed> [as off] (media-views.min.js:1) at i.dispose (media-views.min.js:1) at i.dispose (media-views.min.js:3) at i.remove (media-views.min.js:1) at load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,underscor&load[chunk_1]=e,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,jquery-ui-tooltip&ver=5.3:65
Forum: Plugins
In reply to: [Enable Media Replace] Replace Media button completely missingHi Jack,
I found this as wanted to make sure the developers knew that something was wrong, what I will say is the functionality is still there in the latest update. If you go through to the “Edit more details” or if you are viewing the Media library in List mode the function is still present, its just in the grid view popup that it is no longer showing.
I might be wrong but I believe that ShortPixel is one guy and depending on his timezone he might not have been active since you raised the issue. Give the guy a chance to fix, yes it should have been picked up before it was pushed live but mistakes happen, are you saying you’ve never pushed a website change live and then had to perform a fix for that?
Forum: Plugins
In reply to: [Advanced Forms for ACF] Checkbox record date / time ACF + Advanced FormsHi Columbus,
I would advise having a hidden field that is populated with the date/time when the checkbox is ticked using JS.
This can then be included in the email in the editor, will be saved in the database if you have turned on entries as well.
document.getElementById('acf-checkbox-id').onclick = function() { var date = new Date(); document.getElementById('acf-field-gdpr-date-field').value = date.toString(); }
Forum: Plugins
In reply to: [Event Tickets and Registration] PHP Fatal Error MessageI have changed line 3035 and 3036
changed Arr to Tribe__Utils__Array and this is now working.Forum: Plugins
In reply to: [Event Tickets and Registration] PHP Fatal Error MessageHi Abigailm
I am getting the same issue on a site I manage, and I believe it is when the user is in list mode and clicks on next/previous events.
The page fires an Internal server error on Ajax-admin in console at the same time.
What is your website?If you view https://www.ikon-gallery.org/events/ and click the next/previous in the footer this is what I’m experiencing.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Notification not workingHi Pascal,
Just seen this thread and thought i’d try and help.
Have you tried putting an email address as the From in the notifications.
The other thing you may need to update is your SPF record.
At the moment it is
v=spf1 include:_mailcust.gandi.net ?allYou may need to add the website IP address so would change this to
v=spf1 a ip4:188.165.14.151 include:_mailcust.gandi.net ?allForum: Plugins
In reply to: [Advanced Forms for ACF] Email recipient based on select optionHi Rob,
I can think of a couple of ways, you could have your select values set as the email address and the labels showing the options like:
[email protected] : Option 1
[email protected] : Option 2Then in the email notifications you can set it against this value.
An alternative would be having a hidden email field, that JS sets the value based on the value of the option, bit more work involved in this and more maintenance if new options are added.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Compatibility issue with ACF 5.7?I had this issue and clearing my local browser cache cleared the issue up, worth trying that.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Error since update 23 June 18Hey,
Thanks for the speedy response and fix.
I can confirm this has cleared the error from the sites I had noticed it on.Thanks
JamesForum: Fixing WordPress
In reply to: default backend – 404I would recommend contacting your hosting company EasyWP support and asking them for assistance.
You would need to access with PHPMyAdmin or FTP.
In FTP you could edit the wp-config file and add
define('WP_HOME','https://treasuresnook.com/'); define('WP_SITEURL','https://treasuresnook.com/');
In SQL you would need to edit the options table and look for HOME_URL and SITE_URL and edit the values assigned to this.
Forum: Fixing WordPress
In reply to: Export Users with passwordsHi Pat,
I am unable to find a plugin that does this
I personally would do this direct in SQL and at a guess PHPMyAdmin.
If you export the tables, this can be imported into the SQL of the new site.
The MD5 hashes won’t be changed so the passwords will remain secure and the same as presently.Before importing the data into the table you will need to check that none of the existing user ID’s exist. If they do one of the sets will need amending, at minimum this will be your administrator login user ID 1.
If other users have been added directly onto this installation they will have user ID’s that depending on how you import the data will be overriden or not imported.
If this is outside your technical expertise, it would be best to hire a SQL/WP Expert that would be able to perform this, it shouldnt be more than a hours work, but would depend on data within the tables.
Forum: Fixing WordPress
In reply to: Passing srcset to image attachment methodHave you set $image_id as the id of the attachment?
Where have you set the image? Is this your featured image? or do you have a custom field?
Forum: Fixing WordPress
In reply to: Google Maps Radius Search with WordPressI have just completed a project similar to this for a client of mine.
It required having the lat and lng data inserted to a seperate table so it was quicker to evaluate them as a pair.
Check out https://biostall.com/performing-a-radial-search-with-wp_query-in-wordpress/ for more details.
Forum: Fixing WordPress
In reply to: How do I use PHP to display the alt text in for a featured imageIt appears that you might be using Advanced Custom Fields.
If that is the case, I would look at their documentation regarding displaying images.
https://www.advancedcustomfields.com/resources/image/
If you set ACF to return the ID, you can then use
$image = get_field('page_featured_image'); $size = 'full'; // (thumbnail, medium, large, full or custom size) if( $image ) { echo wp_get_attachment_image( $image, $size ); }
This is also good as can return a responsive srcset of images.
Forum: Fixing WordPress
In reply to: Export Users with passwordsAre you replacing the existing site, or just moving hosting?
If you are replacing the site you could try to export the users and user_meta table data and import this into the new site, if there are users already setup with the same primary key, these will need to be updated in both tables so the data remains the same.
If you are moving hosting, I assume you have an export of the database, when imported no data will have changed.
Hope this helps.