WordPress.org

Ready to get started?Download WordPress

Forums

Joomla/Mambo To WordPress Migrator
[resolved] [Plugin: Joomla/Mambo To WordPress Migrator] Fatal error/string offset? (21 posts)

  1. thesugarpixie
    Member
    Posted 2 years ago #

    Any ideas for the following error?

    Processing Category: XXXXXX ===> found 107 posts....

    Fatal error: Cannot use string offset as an array in /data/23/2/3/16/2166831/user/2378217/htdocs/Folder2012/wp-content/plugins/joomla-to-wordpress-migrator/joomla2wp-mig.php on line 1626

    http://wordpress.org/extend/plugins/joomla-to-wordpress-migrator/

  2. morcom
    Member
    Posted 2 years ago #

    Think I have the same problem
    Processing Category: About PAWS ===> found 2 posts....

    Fatal error: Cannot use string offset as an array in C:\xampp\htdocs\paws\wp-content\plugins\joomla-to-wordpress-migrator\joomla2wp-mig.php on line 1626
    migrating from Joomla Version 1.5.23 to WP 3.3
    Appreciate if you could point me in the right direction

  3. mhulet
    Member
    Posted 2 years ago #

    Same error.

    Processing Category: Latest ===> found 1 posts....
    Fatal error: Cannot use string offset as an array in /Users/michael/Apps/tregs/wp-content/plugins/joomla-to-wordpress-migrator/joomla2wp-mig.php on line 1626

  4. morcom
    Member
    Posted 2 years ago #

    Gave up waiting for any response and did the migration manually.
    This is one of the main reasons I am now moving from Joomla to WP - support has pretty much dried up unless it's a paid for plugin and I'm down now to my last Joomla site.

  5. Megajoule
    Member
    Posted 2 years ago #

    I have the same problem. The migration of users worked, but not the content. I get the same error. Anyone who knows how to solve this?

  6. Inimist Technologies
    Member
    Posted 2 years ago #

    I had the similar problem. I was able to fix it using a php check near 1626 line. Under:
    $j2wp_url_change_patterns = get_option('j2wp_url_change_patterns');
    i put a php check:
    if(!$j2wp_url_change_patterns) return;

    And the fatal error disappeared.

    But i have another problem. I am not sure whether this is related to the one above, i think no , because the above function tries to replace url patters i guess. I am able to import everything fine but the post content :(. Also the utf-8 conversion does not seem to work at all. You can have a look at http://dev.jogindernagar.com/. Does anyone has an idea what's going on here?

  7. thesugarpixie
    Member
    Posted 2 years ago #

    Gave up as well and migrated the data manually. Oh well!

  8. morcom
    Member
    Posted 2 years ago #

    How is it that this topic is classified as resolved?
    There has been no response at all from the plugin owner.

  9. mhulet
    Member
    Posted 2 years ago #

    I updated the code as arvindk explains. It imported all posts but me too: no post content. The solution seems quite simple:
    if (!$j2wp_url_change_patterns) return $post_content;

    Had 504 errors then and restarted PHP. Everything seems fine now.

  10. sdhabertv
    Member
    Posted 2 years ago #

    I m solved this problem

    Please look at this link

    Sondakikahaber.tv

  11. Jitender Verma
    Member
    Posted 2 years ago #

    When I migrate the joomla to wordpress then I found this error "Unknown column 'section' in 'where clause'
    Found 0 Categories..."
    Plz help me..i have to complete this ASAP. If anybody know that issues

  12. christian_gnoth
    Member
    Plugin Author

    Posted 2 years ago #

    please get the latest version of the plugin - the error should be resolved

  13. Loewenherz
    Member
    Posted 1 year ago #

    I used the latest version and have the same problem:
    Joomla 1.5.26 and Migrator 1.7.1

    The solution from sdhabertv doesn't work:
    If I delete line 1617 to 1633, I get a php error
    If I delete line 1620 to 1636, no error, but:

    found 10 posts....
    Processing 10 Posts... ..........
    Inserted 0 Posts

    Any idea here?

  14. bethosuch
    Member
    Posted 1 year ago #

    Is this forum alive?

    I have the same problem trying to update from mambo.

    Fatal error: Cannot use string offset as an array in /home/lpchat/domains/lpchat.com/public_html/testeWP/wp-content/plugins/joomla-to-wordpress-migrator/joomla2wp-mig.php on line 1628

    Also tried sdhabertv solution and didnt work.
    Please, any help will be very apreciated!

    regards

  15. MasterScript
    Member
    Posted 1 year ago #

    Joomla 1.5.26
    Wordpress 3.4.2
    Migrator 1.7.1

    I get same problem here.

    Content Migration

    Processing Category: Saat Teduh ===> found 2 posts....

    Fatal error: Cannot use string offset as an array in /home/public_html/new/wp-content/plugins/joomla-to-wordpress-migrator/joomla2wp-mig.php on line 1628

  16. shurph
    Member
    Posted 1 year ago #

    To Loewenherz, bethosuch and MasterScript:

    In file joomla2wp-mig.php on line 1624 change code from:
    if ( count($j2wp_url_change_patterns) )

    to:
    if ( count($j2wp_url_change_patterns) AND is_array($j2wp_url_change_patterns) )

    This will solve the problem.

  17. dcbaldwin1
    Member
    Posted 1 year ago #

    And it does! shurph, thanks for the fix!

    Successfully migrated all pages (articles in joomla) from Joomla 1.5 to WP 3.3.1. Very useful plugin!

  18. overclokk
    Member
    Posted 1 year ago #

    Thanks shurp, now it works :D

  19. Silver007A
    Member
    Posted 1 year ago #

    Thanks a lot shurp for that fix :-)

  20. lauralvictor
    Member
    Posted 1 year ago #

    Went looking for a fix to this very same error. Shurph's fix worked great! :-D

  21. JCL Brasil
    Member
    Posted 1 year ago #

    error

    PHP Warning: mysql_connect() [function.mysql-connect]: [2002] No connection could be made because the target machine actively refused it.
    (trying to connect via tcp://localhost:3306) in E:\Domains\wprinter.com.br\wwwroot\portal\wp-content\plugins\joomla-to-wordpress-migrator\joomla2wp-mig.php on line 1929

    what do I do? this error continues

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic