Andrew Rothman
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Logging in via alternate URL?Before embarking upon that solution, there might be something easier. In some cases the login URL includes a
redirect_to=
query string that’s invalid. This can cause the login screen to reload. In some cases you are actually logged in and you can manually request a direct admin URL and get to it (assuming your user role is permitted there).Can you give me a bit more info on this suggestion? There is a “redirect_to” on the URL, but it’s the “real” internal URL rather than the obfuscated one I’ve got access to. If I attempt to load an internal URL (i.e. domain.com/wp-admin/edit.php?post_type=page) I still end up at the login page. If I navigate to a specific page I do see the WP admin toolbar across the top, but clicking ‘Edit’ just bounces me back to the login again.
Forum: Plugins
In reply to: [WP Job Manager] Correct file path for overriding single.phpI was able to resolve the issue with a custom function like this:
function set_template( $post_id, $xml_node, $is_update ) {
$import_id = wp_all_import_get_import_id();
if ( $import_id == ‘1’ ) {
// Set the page template meta key.
update_post_meta( $post_id, ‘_wp_page_template’, ‘page-templates/current-job.php’ );
}
}
add_action( ‘pmxi_saved_post’, ‘set_template’, 10, 3 );I was able to get this to work by using a custom function to force the correct template post-save:
function set_template( $post_id, $xml_node, $is_update ) {
$import_id = wp_all_import_get_import_id();
if ( $import_id == ‘1’ ) {
// Set the page template meta key.
update_post_meta( $post_id, ‘_wp_page_template’, ‘page-templates/current-job.php’ );
}
}
add_action( ‘pmxi_saved_post’, ‘set_template’, 10, 3 );The reason I was asking is that the dropdown is not showing the templates that are in the root. When I go to the normal Add Page in WP my ‘Page Templates’ dropdown has over a dozen options, but in WP All Import I’m only getting ‘Default’.
Still having the same issue, despite updating WP and manually replacing files. When I attempt to change a block from one type to another, it crashes.
TypeError: Cannot read properties of null (reading 'addEventListener') at https://**********/site/wp-includes/js/dist/block-editor.js?ver=0930e041f64667e446db:19577:17 at https://**********/site/wp-includes/js/dist/compose.js?ver=228e7d7fccaae67c220c:3646:25 at assignRef (https://**********/site/wp-includes/js/dist/compose.js?ver=228e7d7fccaae67c220c:4217:5) at https://**********/site/wp-includes/js/dist/compose.js?ver=228e7d7fccaae67c220c:4319:7 at assignRef (https://**********/site/wp-includes/js/dist/compose.js?ver=228e7d7fccaae67c220c:4217:5) at https://**********/site/wp-includes/js/dist/compose.js?ver=228e7d7fccaae67c220c:4319:7 at assignRef (https://**********/site/wp-includes/js/dist/compose.js?ver=228e7d7fccaae67c220c:4217:5) at https://**********/site/wp-includes/js/dist/compose.js?ver=228e7d7fccaae67c220c:4319:7 at commitAttachRef (https://**********/site/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:23655:22) at commitLayoutEffectOnFiber (https://**********/site/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:23513:11)
It’s happening on multiple machines and with different user logins. I’m not sure what else I can try…
Forum: Themes and Templates
In reply to: [BlockMe] Cannot change homepageI figured it out. When using a Block theme, the only way to edit the homepage is to click “Edit Site” rather than “Edit Page” and then alter the ‘Front Page’ from there.
I was on 6.4.2. I updated to the .3 today. If it keeps happening, I will try the manual update as you suggest.
Forum: Networking WordPress
In reply to: Moving single multisite site to different domain?Thanks, friend! That makes sense. I’ll give it a spin and see how it goes…
It occurs to me that I could simply back up the ‘dev’ site and import it into the ‘subdomain’ one to overwrite it, and then search/replace. I don’t need to change the URLs on the multisite at that point because the new content will already be at the right URL…
- This reply was modified 10 months, 3 weeks ago by Andrew Rothman.
Forum: Themes and Templates
In reply to: [Fuzion Blog] font css files generating wrong urlsw00t!
Looks like deleting the entire ‘Fonts’ folder, not just the .css files, was required.
- This reply was modified 1 year, 9 months ago by Andrew Rothman.
I have worked around the issue by adding an @import for the Google font into my site’s custom CSS, but I’d love to know where it’s finding the reference to the dev environment so I can make sure it doesn’t break anything else.
SOLVED!
Start > Settings > Accessibility > Visual Effects > Animation Effects
It would appear that turning off animations on Windows 11 also disables animations for websites, which I would not have expected. Flipping that toggle back to ‘On’ solved my problem.
THEME INFO Theme Name : Accountra
Theme Version : 1.0.2 WordPress Environment Home URL : https://localhost:8888/wallach/
Site URL : https://localhost:8888/wallach
Login URL : https://localhost:8888/wallach/wp-login.php
WP Version : 6.1.1
WP Multisite : -
WP Debug Mode : Disabled
PHP Memory Limit : 256M
WP Memory Limit : 256M
WP Language : en_US
WP Upload Directory : ?
Number of Category : 1
Number of Tag : 0 Server Environment Server Info : Apache/2.4.33 (Win64) OpenSSL/1.0.2u mod_fcgid/2.3.9 PHP/8.0.1
PHP Version : 8.0.1
PHP Post Max Size : 128M
PHP Time Limit : 60
PHP Max Input Vars : 1000
SUHOSIN Installed : -
WP Remote Get : ?
PHP Image library installed : ?
PHP GD library installed : ?
PHP GD WebP supported : ?
PHP fileinfo library installed : -
CURL Installed : ? Active Plugins Gutenverse : by Jegstudio - 1.8.1I’ve also recorded a video of me scrolling both my local host version and two of the demos on the website: https://drive.google.com/file/d/1zj49MQjdDannh8JUqSgMcEYdpXkVi7FP/view?usp=share_link
The demo links do work on my Windows 10 box at the office, so this is definitely something specific to my own machine… I’m just not sure what. Since it happens in all themes and on two browsers, it must be something broader. I’m open to any suggestions. I’d like to be able to develop with the theme on this box, so I’ll need to get to the bottom of it one way or another.
I tried both Chrome and Edge on my Windows 11 machine. The animations in the site demos do seem to work on my iPhone…
Forum: Plugins
In reply to: [PCRecruiter Extensions] Opening and ending tag mismatchThe error message you’re receiving appears to be related to the Feeds feature of the plugin, which is enabled/disabled from the Settings panel for the plugin. It’s possible that some invalid values have been entered into that panel, which is normally empty unless someone at PCRecruiter has provided specifics. Start by making sure that the ‘Job Feed Enabled’ box is unchecked and that the other boxes in that screen are empty.